Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit a2943a3

Browse files
committed
linting
1 parent 1fe9118 commit a2943a3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

agent/Bridge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ class Bridge {
329329
result[name] = dehydrate(val[name], cleaned, [name]);
330330
});
331331

332-
// eslint-disable no-proto
332+
/* eslint-disable no-proto */
333333
if (!protod && val.__proto__ && val.constructor.name !== 'Object') {
334334
proto = {};
335335
var pIsFn = typeof val.__proto__ === 'function';
@@ -341,7 +341,7 @@ class Bridge {
341341
proto[name] = dehydrate(val.__proto__[name], protoclean, [name]);
342342
});
343343
}
344-
// eslint-enable no-proto
344+
/* eslint-enable no-proto */
345345
}
346346

347347
this._wall.send({

frontend/DataView/DataView.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
var React = require('react');
1414
var Simple = require('./Simple');
1515

16-
var assign = require('object-assign');
1716
var consts = require('../../agent/consts');
1817
var previewComplex = require('./previewComplex');
1918

frontend/PropState.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ var WrappedPropState = decorate({
148148
} else if (path[0] === 'context') {
149149
store.setContext(store.selected, path.slice(1), val);
150150
} else {
151-
invariant(false, "the path to change() must start wth props, state, or context");
151+
invariant(false, 'the path to change() must start wth props, state, or context');
152152
}
153153
},
154154
showMenu(e, val, path, name) {

0 commit comments

Comments
 (0)