update demo
This commit is contained in:
parent
625f70206c
commit
eeb499b173
1 changed files with 5 additions and 5 deletions
|
|
@ -4,18 +4,18 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include ace search path and modules
|
// include ace search path and modules
|
||||||
require("../../support/paths");
|
require("amd-loader");
|
||||||
|
|
||||||
// load jsdom, which is required by Ace
|
// load jsdom, which is required by Ace
|
||||||
require("ace/test/mockdom");
|
require("../../lib/ace/test/mockdom");
|
||||||
|
|
||||||
var http = require("http");
|
var http = require("http");
|
||||||
var fs = require("fs");
|
var fs = require("fs");
|
||||||
|
|
||||||
// load the highlighter and the desired mode and theme
|
// load the highlighter and the desired mode and theme
|
||||||
var highlighter = require("ace/ext/static_highlight");
|
var highlighter = require("../../lib/ace/ext/static_highlight");
|
||||||
var JavaScriptMode = require("ace/mode/javascript").Mode;
|
var JavaScriptMode = require("../../lib/ace/mode/javascript").Mode;
|
||||||
var theme = require("ace/theme/twilight");
|
var theme = require("../../lib/ace/theme/twilight");
|
||||||
|
|
||||||
var port = process.env.PORT || 2222;
|
var port = process.env.PORT || 2222;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue