Rebecca Turner
53e18cacf9
Add support for regex charclasses and thus / in charclasses
2014-10-08 05:19:13 -04:00
Rebecca Turner
1b0ad96dd8
Make columns/whitespace consistent
2014-09-13 12:38:41 -07:00
Rebecca Turner
f763acaaf6
Rewrite JavaScript syntax highlighting
2014-09-12 13:59:53 -07:00
Rebecca Turner
a7db2eb736
Add Node.js globals, quasi-keywords and export highlighting
2014-08-29 16:50:14 -04:00
Rebecca Turner
585f123837
Update JavaScript keywords list to ES5, add globals
2014-08-29 16:47:56 -04:00
cn
909d325468
Call js.js(php) instead of js.js(html) when using html(php)
...
Mostly copied from css(php),
2012-05-13 01:38:13 +02:00
cn
f17483d34f
Move <script> Javascript highlighting from java.java(script) to js.js(html)
2012-05-13 01:05:48 +02:00
Christian Nicolai
6192219d98
Fixed bug in js.jsf
...
This prevented correct hilite in situations like this:
variable /* comment */
This was mislit as regex beginning t the second '/'.
2011-08-06 14:16:29 +02:00
Christian Nicolai
0ca5a95d56
after_term support for Javascript highlighter
...
This allows us to parse / / regex literals correctly in (nearly?) all
situations by recognizing if a literal is currently allowed or not (after terms!).
Now calc(a / b) works perfectly since 'a' is a term.
But match(/blub/) works too since after a ( everything is allowed.
Tested on JQuery 1.6.2 normal source ;-)
2011-08-06 12:32:37 +02:00
Christian Nicolai
c09253442f
Improved js.jsf
...
Currently the regex has some serious problems - may fail in practice.
2011-08-06 00:39:04 +02:00
Christian Nicolai
a2c886e3fa
Added revamped Javascript highlighter
...
This version is only for standalone .js files, not for <script> tag in HTML.
2011-08-05 23:45:04 +02:00