[ReactNative] Back out D2014163 entirely

This commit is contained in:
Philipp von Weitershausen
2015-04-23 11:34:25 -07:00
parent 24095fcc2d
commit e88ba1a6a3
5 changed files with 29 additions and 43 deletions

View File

@@ -77,7 +77,6 @@ function handleErrorWithRedBox(e) {
function setupRedBoxErrorHandler() {
var ErrorUtils = require('ErrorUtils');
ErrorUtils.setGlobalHandler(handleErrorWithRedBox);
GLOBAL.reportException = require('ExceptionsManager').reportException;
}
/**
@@ -135,8 +134,8 @@ function setupGeolocation() {
}
setupDocumentShim();
setupRedBoxErrorHandler();
setupTimers();
setupRedBoxErrorHandler(); // needs to happen after setupTimers
setupAlert();
setupPromise();
setupXHR();