Skip to content

Commit

Permalink
package
Browse files Browse the repository at this point in the history
  • Loading branch information
fjakobs committed Sep 6, 2011
1 parent 86344d9 commit 1041f1a
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 15 deletions.
7 changes: 7 additions & 0 deletions build/demo/kitchen-sink-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -16732,6 +16732,9 @@ var JavaScriptHighlightRules = function() {
"if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|" +
"const|yield|import|get|set").split("|")
);

// keywords which can be followed by regular expressions
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield";

var buildinConstants = lang.arrayToMap(
("null|Infinity|NaN|undefined").split("|")
Expand Down Expand Up @@ -16792,6 +16795,10 @@ var JavaScriptHighlightRules = function() {
}, {
token : "constant.language.boolean",
regex : "(?:true|false)\\b"
}, {
token : "keyword",
regex : kwBeforeRe,
next : "regex_allowed"
}, {
token : function(value) {
if (value == "this")
Expand Down
2 changes: 1 addition & 1 deletion build/demo/kitchen-sink.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-groovy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-html.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-java.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-javascript.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-markdown.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-scala.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/src/mode-svg.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-groovy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-html.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-java.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-javascript.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-markdown.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-scala.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/textarea/src/mode-svg.js

Large diffs are not rendered by default.

0 comments on commit 1041f1a

Please sign in to comment.