Skip to content

Commit

Permalink
update ace
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Apr 10, 2012
1 parent 8ba1e14 commit 0ac1a13
Show file tree
Hide file tree
Showing 32 changed files with 9,606 additions and 7,836 deletions.
7 changes: 0 additions & 7 deletions chrome/content/ace++/consoleMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,3 @@ oop.inherits(Mode, TextMode);
exports.Mode = Mode;
});


initConsoleMode = function(editor){
var consoleMode = require('ace/mode/consoleMode').Mode
console.log(editor)
editor.session.setMode(new consoleMode);
}

4 changes: 2 additions & 2 deletions chrome/content/ace++/fbeditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@
return;
}
onLaunch = callback || true;
// "ace/mode/javascript", "ace/mode/css", are loaded with html // "ace-uncompressed" for debugging
var rootDeps = ["fbace/startup", "res/ace/ace-uncompressed", "ace/mode/xml", "ace/mode/html"];
// "ace/mode/javascript", "ace/mode/css", are loaded with html
var rootDeps = ["fbace/startup", "res/ace/ace"];
if (!options)
options = {
softtabs: true,
Expand Down
Loading

0 comments on commit 0ac1a13

Please sign in to comment.