[ReactNative] Migrate navigator.geolocation to open source

This commit is contained in:
Christopher Chedeau committed 2015-02-28 21:25:27 -08:00
1 parent c352cb1c9a
commit 878bc9d491
8 files changed
+374

No files matched your search

@@ -139,9 +139,15 @@ function setupXHR() {
GLOBAL.fetch = require('fetch');
}
function setupGeolocation() {
GLOBAL.navigator = GLOBAL.navigator || {};
GLOBAL.navigator.geolocation = require('GeoLocation');
}
setupRedBoxErrorHandler();
setupDocumentShim();
setupTimers();
setupAlert();
setupPromise();
setupXHR();
setupGeolocation();