Browse Source

Update lint-staged

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

2
package.json

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

5
src/utils/Droppable.js

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

Loading…
Cancel
Save