Browse Source

Update lint-staged

pull/758/head
Artur Arseniev 9 years ago
parent
commit
ed03e097a4
  1. 2
      package.json
  2. 5
      src/utils/Droppable.js

2
package.json

@ -76,7 +76,7 @@
] ]
}, },
"lint-staged": { "lint-staged": {
"./{src,test}/**/*.js": ["prettier --single-quote --write", "git add"] "{src,test}/**/*.js": ["prettier --single-quote --write", "git add"]
}, },
"scripts": { "scripts": {
"lint": "eslint src", "lint": "eslint src",

5
src/utils/Droppable.js

@ -4,7 +4,10 @@ import { bindAll } from 'underscore';
export class Droppable { export class Droppable {
constructor(em) { constructor(em) {
this.em = em; this.em = em;
this.el = this.em.get('DomComponents').getWrapper().getEl(); this.el = this.em
.get('DomComponents')
.getWrapper()
.getEl();
this.counter = 0; this.counter = 0;
bindAll( bindAll(
this, this,

Loading…
Cancel
Save