diff --git a/build_support/bookmarklet.html b/build_support/bookmarklet.html index f3d95ee7..88355f78 100644 --- a/build_support/bookmarklet.html +++ b/build_support/bookmarklet.html @@ -51,7 +51,7 @@ function foo() { function inject(options, callback) { var baseUrl = options.baseUrl || "../../src-noconflict"; - + var load = function(path, callback) { var head = document.getElementsByTagName('head')[0]; var s = document.createElement('script'); @@ -87,7 +87,7 @@ function inject(options, callback) { // Call the inject function to load the ace files. var textAce; inject({}, function () { - // Transform the textarea on the page into an ace editor. + // Transform the textarea on the page into an ace editor. var t = document.querySelector("textarea"); textAce = ace.require("ace/ext/textarea").transformTextarea(t); setTimeout(function(){textAce.setDisplaySettings(true)}); diff --git a/build_support/editor.html b/build_support/editor.html index 06a4651b..1d972cf9 100644 --- a/build_support/editor.html +++ b/build_support/editor.html @@ -8,8 +8,8 @@ body { overflow: hidden; } - - #editor { + + #editor { margin: 0; position: absolute; top: 0; @@ -27,7 +27,7 @@ alert("Ace Rocks " + items[i]); } } - +