Skip to content

Commit

Permalink
update for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryestew authored and yann300 committed Aug 2, 2017
1 parent 1a260c5 commit 070a0d4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 138 deletions.
2 changes: 1 addition & 1 deletion src/app/file-explorer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global FileReader, confirm, alert */
/* global FileReader, confirm */
var yo = require('yo-yo')
var csjs = require('csjs-inject')
var Treeview = require('ethereum-remix').ui.TreeView
Expand Down
135 changes: 0 additions & 135 deletions src/app/modal-dialog-alert.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/modal-dialog-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ var modal = require('./modaldialog.js')
var yo = require('yo-yo')
module.exports = {
alert: function (text) {
modal('', yo`<div>${text}</div>`, null, {label:null})
modal('', yo`<div>${text}</div>`, null, { label: null })
}
}
1 change: 0 additions & 1 deletion src/app/modaldialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ module.exports = (title, content, ok, cancel) => {

var modal = document.querySelector(`.${css.modalBody}`)
var modalTitle = document.querySelector(`.${css.modalHeader} h2`)
var modalFooter = document.querySelector(`.${css.modalFooter}`)

modalTitle.innerHTML = ''
if (title) modalTitle.innerHTML = title
Expand Down

0 comments on commit 070a0d4

Please sign in to comment.