Removing unnecessary Editor constructor argument

pull/1/head
Dave Hoover 9 years ago
parent d49162d7af
commit 289cec440f
  1. 2
      src/app.js
  2. 2
      src/app/editor.js

@ -82,7 +82,7 @@ var run = function() {
// ----------------- editor ---------------------- // ----------------- editor ----------------------
var editor = new Editor(ace, loadingFromGist, SOL_CACHE_FILE_PREFIX); var editor = new Editor(loadingFromGist, SOL_CACHE_FILE_PREFIX);
// ----------------- tabbed menu ------------------- // ----------------- tabbed menu -------------------

@ -1,7 +1,7 @@
var ace = require('brace'); var ace = require('brace');
require('../mode-solidity.js'); require('../mode-solidity.js');
function Editor(ace, loadingFromGist, SOL_CACHE_FILE_PREFIX) { function Editor(loadingFromGist, SOL_CACHE_FILE_PREFIX) {
this.newFile = function() { this.newFile = function() {
untitledCount = ''; untitledCount = '';

Loading…
Cancel
Save