Lint fixes
Sebastian Markbage committed
Jun 18, 2015 at 14:12 UTC
86592239399f475ec1c5497d39986dbf5cb1e96f
2 files changed
+3
-3
src/renderers/dom/server/ReactServerBatchingStrategy.js
+3
-2
@@ -15,8 +15,9 @@
15
var ReactServerBatchingStrategy = {
16
isBatchingUpdates: false,
17
batchedUpdates: function(callback) {
18
- // Don't do anything
19
- }
18
+ // Don't do anything here. During the server rendering we don't want to
19
+ // schedule any updates. We will simply ignore them.
20
+ },
21
};
22
23
module.exports = ReactServerBatchingStrategy;
src/renderers/shared/reconciler/ReactUpdates.js
-1
@@ -19,7 +19,6 @@ var Transaction = require('Transaction');
19
20
var assign = require('Object.assign');
21
var invariant = require('invariant');
22
-var warning = require('warning');
22
23
var dirtyComponents = [];
24
var asapCallbackQueue = CallbackQueue.getPooled();