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

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredly committed Aug 3, 2015
1 parent 1fe9118 commit a2943a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions agent/Bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class Bridge {
result[name] = dehydrate(val[name], cleaned, [name]);
});

// eslint-disable no-proto
/* eslint-disable no-proto */
if (!protod && val.__proto__ && val.constructor.name !== 'Object') {
proto = {};
var pIsFn = typeof val.__proto__ === 'function';
Expand All @@ -341,7 +341,7 @@ class Bridge {
proto[name] = dehydrate(val.__proto__[name], protoclean, [name]);
});
}
// eslint-enable no-proto
/* eslint-enable no-proto */
}

this._wall.send({
Expand Down
1 change: 0 additions & 1 deletion frontend/DataView/DataView.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
var React = require('react');
var Simple = require('./Simple');

var assign = require('object-assign');
var consts = require('../../agent/consts');
var previewComplex = require('./previewComplex');

Expand Down
2 changes: 1 addition & 1 deletion frontend/PropState.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ var WrappedPropState = decorate({
} else if (path[0] === 'context') {
store.setContext(store.selected, path.slice(1), val);
} else {
invariant(false, "the path to change() must start wth props, state, or context");
invariant(false, 'the path to change() must start wth props, state, or context');
}
},
showMenu(e, val, path, name) {
Expand Down

0 comments on commit a2943a3

Please sign in to comment.