removing bits of old code

pull/1/head
Rob Stupay 7 years ago
parent 3085fc1842
commit 3656ea6447
  1. 4
      src/app/editor/editor.js
  2. 1
      src/app/tabs/run-tab.js

@ -68,10 +68,6 @@ function Editor (opts = {}) {
editor.session.setBreakpoint(row, css) editor.session.setBreakpoint(row, css)
} }
this.setPosition = function (line, column, noClip) {
editor.moveCursorTo(line, column)
}
this.editorFontSize = function (incr) { this.editorFontSize = function (incr) {
editor.setFontSize(editor.getFontSize() + incr) editor.setFontSize(editor.getFontSize() + incr)
} }

@ -293,7 +293,6 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
// ADD BUTTONS AT ADDRESS AND CREATE // ADD BUTTONS AT ADDRESS AND CREATE
function createInstance () { function createInstance () {
// appAPI.logMessage('transaction added ...')
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`) var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`)
var contracts = appAPI.getContracts() var contracts = appAPI.getContracts()
var contractName = [contractNames.children[contractNames.selectedIndex].innerHTML] var contractName = [contractNames.children[contractNames.selectedIndex].innerHTML]

Loading…
Cancel
Save