diff --git a/package.json b/package.json index 35193c2a8..3659bfeb4 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "npm run lint && npm run test:unit", - "test:phantom": "zuul test/spec/upload.js --phantom", + "test:acceptance": "node test/multipart.spec.js", "test:unit": "node test/index.js", "build": "npm run build:lib && npm run build:bundle && npm run build:bundle:min && npm run build:css", "build:js": "npm run build:lib && npm run build:bundle && npm run build:bundle:min", diff --git a/src/plugins/Modal.js b/src/plugins/Modal.js index 4e7eb8fc6..ea71d9f86 100644 --- a/src/plugins/Modal.js +++ b/src/plugins/Modal.js @@ -60,15 +60,6 @@ export default class Modal extends Plugin { const modal = this.core.getState().modal modal.targets.push(target) this.core.setState({modal: modal}) - - // this.core.emitter.emit('modal-add-target', { - // id: callerPluginId, - // name: callerPluginName, - // icon: callerPluginIcon, - // type: callerPluginType, - // el: el, - // isVisible: false - // }) } render (state) { @@ -85,7 +76,7 @@ export default class Modal extends Plugin { }) return yo`