diff --git a/demo/kitchen-sink/demo.js b/demo/kitchen-sink/demo.js index 76c89025..bdfb3708 100644 --- a/demo/kitchen-sink/demo.js +++ b/demo/kitchen-sink/demo.js @@ -39,7 +39,7 @@ define(function(require, exports, module) { -"never use strict"; +"use strict"; require("ace/lib/fixoldbrowsers"); require("ace/config").init(); @@ -265,7 +265,7 @@ split.on("focus", function(editor) { }); env.split = split; window.env = env; -window.editor = window.ace = env.editor; +window.ace = env.editor; env.editor.setAnimatedScroll(true); var consoleEl = dom.createElement("div"); @@ -339,12 +339,6 @@ commands.addCommand({ exec: function() {alert("Fake Save File");} }); -commands.addCommand({ - name: "print", - bindKey: {win: "Ctrl-P", mac: "Command-P"}, - exec: function(editor) {editor.session.setValue("please,\ndo not waste paper\n");} -}); - var keybindings = { // Null = use "default" keymapping ace: null, diff --git a/index.html b/index.html index 7ebc6317..026e2559 100644 --- a/index.html +++ b/index.html @@ -73,6 +73,7 @@
  • RubyMonk
  • tmpltr
  • CMS Made Simple
  • +
  • Try Jasmine
  • Syntax Highlighters