components/prism-pug.min.js


Log

Author Commit Date CI Message
那里好脏不可以 7f948ecb 2020-05-03T23:40:09 pug: Improved class and id detection in tags (#2358)
Michael Schmidt 5d7aab56 2020-03-26T23:30:29 Updated all String.propotype.replace calls for literal strings
Michael Schmidt ad3fa443 2019-10-16T11:44:14 Inlined some unnecessary rest properties (#2082) This inlines a few unnecessary `rest` properties.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Michael Schmidt c9a32674 2019-03-05T22:06:33 Fixed dependencies of Pug and Pure (#1759) This removes dependencies of Pug and Pure to languages which do not exist (yet).
Michael Schmidt e894fc89 2019-01-23T03:05:58 Inline regex source with gulp (#1537) Let gulp inline the source of inline regular expressions without flags in minified files. This means that gulp will replace `/regex/.source` with `'regex'`. ## Motivation Most IDEs support syntax highlighting and checking of JS inline regular expressions. This makes them easier to work with and less error-prone than having a string hold the expression. Inline regexes are also usually shorter than their string counterparts because you don't have to escape backslashes. There are also some linters (e.g. ESLint) for JS regular expression which (of course) won't work on strings. This lets you enjoy the advantages of inline regexes without worrying about the additional overhead of compiling another regular expression on the client side.
Golmote 76dc9257 2017-10-22T15:15:22 Pug: Don't use captures if not needed
Golmote ea2d63e7 2017-10-10T08:51:04 Run gulp
Jake Miller f680ee70 2017-10-10T15:05:49 Updated all instances of jade to be named pug.