diff --git a/src/app.js b/src/app.js index d9f759cddb..b93df63207 100644 --- a/src/app.js +++ b/src/app.js @@ -82,7 +82,7 @@ var run = function() { // ----------------- editor ---------------------- - var editor = new Editor(ace, loadingFromGist, SOL_CACHE_FILE_PREFIX); + var editor = new Editor(loadingFromGist, SOL_CACHE_FILE_PREFIX); // ----------------- tabbed menu ------------------- diff --git a/src/app/editor.js b/src/app/editor.js index ae16a23da2..f71416920a 100644 --- a/src/app/editor.js +++ b/src/app/editor.js @@ -1,7 +1,7 @@ var ace = require('brace'); require('../mode-solidity.js'); -function Editor(ace, loadingFromGist, SOL_CACHE_FILE_PREFIX) { +function Editor(loadingFromGist, SOL_CACHE_FILE_PREFIX) { this.newFile = function() { untitledCount = '';