diff options
Diffstat (limited to 'node_modules/react-dom/lib/Transaction.js')
-rw-r--r-- | node_modules/react-dom/lib/Transaction.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/react-dom/lib/Transaction.js b/node_modules/react-dom/lib/Transaction.js index 565e55a0a..f329dbb42 100644 --- a/node_modules/react-dom/lib/Transaction.js +++ b/node_modules/react-dom/lib/Transaction.js @@ -108,6 +108,8 @@ var TransactionImpl = { return !!this._isInTransaction; }, + /* eslint-disable space-before-function-paren */ + /** * Executes the function within a safety window. Use this for the top level * methods that result in large amounts of computation/mutations that would @@ -126,6 +128,7 @@ var TransactionImpl = { * @return {*} Return value from `method`. */ perform: function (method, scope, a, b, c, d, e, f) { + /* eslint-enable space-before-function-paren */ !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0; var errorThrown; var ret; |