Highlighting feature of ace as a server side node module!
This commit is contained in:
parent
dff21be992
commit
5a808ac6a8
3 changed files with 193 additions and 6 deletions
|
|
@ -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";
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue