Update error-guard.js

Summary:
This vars should be let instead of const because they are reassigned.
Closes https://github.com/facebook/react-native/pull/10818

Differential Revision: D4179219

Pulled By: javache

fbshipit-source-id: b09959c5ff31ad1a896d454011dffd915a0a44c4
This commit is contained in:
Martin Hernan Giachetti 2016-11-15 00:02:58 -08:00 committed by Facebook Github Bot
parent 4fafef79cb
commit 170ae0a520
1 changed files with 2 additions and 2 deletions

View File

@ -15,14 +15,14 @@
*/ */
/* eslint strict:0 */ /* eslint strict:0 */
const _inGuard = 0; let _inGuard = 0;
/** /**
* This is the error handler that is called when we encounter an exception * This is the error handler that is called when we encounter an exception
* when loading a module. This will report any errors encountered before * when loading a module. This will report any errors encountered before
* ExceptionsManager is configured. * ExceptionsManager is configured.
*/ */
const _globalHandler = function onError(e) { let _globalHandler = function onError(e) {
throw e; throw e;
}; };