##// END OF EJS Templates
old style: adjust css for buttons to how ui-btn was renamed to btn to match bootstrap
old style: adjust css for buttons to how ui-btn was renamed to btn to match bootstrap

File last commit:

r4120:bb9ef063 rhodecode-2.2.5-gpl
r4143:f6a012c2 rhodecode-2.2.5-gpl
Show More
test.js
10 lines | 472 B | application/javascript | JavascriptLexer
Bradley M. Kuhn
Update CodeMirror CSS and Javascript files to version 3.15, under MIT-permissive license....
r4120 (function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "javascript");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT("locals",
"[keyword function] [variable foo]([def a], [def b]) { [keyword var] [def c] = [number 10]; [keyword return] [variable-2 a] + [variable-2 c] + [variable d]; }");
MT("comma-and-binop",
"[keyword function](){ [keyword var] [def x] = [number 1] + [number 2], [def y]; }");
})();