Highlighting feature of ace as a server side node module!

This commit is contained in:
Jan Jongboom 2011-10-12 18:14:38 +02:00
commit 5a808ac6a8
3 changed files with 193 additions and 6 deletions

View file

@ -37,9 +37,7 @@
define(function(require, exports, module) {
var dom = require("pilot/dom");
var cssText = ".ace-tomorrow .ace_editor {\
exports.cssText = ".ace-tomorrow .ace_editor {\
border: 2px solid rgb(159, 159, 159);\
}\
\
@ -254,8 +252,5 @@ background-color:#8959A8;\
\
}";
// import CSS once
dom.importCssString(cssText);
exports.cssClass = "ace-tomorrow";
});