Amjad Masad
9fde7d2828
[react-native] Make document.js into a polyfill. Fixes #1149
...
Summary:
@public
document shimming must run before anything else. However, we don't currently guarantee that. This moves the document shimming into `document.js` which is used as a polyfill.
Test Plan:
* start server
* go to playground app
* require `NativeModules` as the first thing
* open chrome debugger
* no error
2015-05-13 17:50:21 -08:00
Spencer Ahrens
81ad810186
[ReactNative] differentiate fatal and soft exceptions
2015-05-13 13:24:37 -07:00
Brent Vatne
7141948a05
Bump fetch and add exports/globals for Headers, Request and Response
...
Summary:
Now on fetch 0.8.1, the latest tagged release. Previous version used was 0.7.0. See #1162 cc @vjeux @jtremback
Closes https://github.com/facebook/react-native/pull/1192
Github Author: Brent Vatne <brent.vatne@madriska.com>
Test Plan: I arc patched and ran movies demo and storyline, they work fine
2015-05-07 13:24:16 -08:00
Philipp von Weitershausen
e5f47731c6
[ReactNative] Only report console.error()s as exceptions in dev mode
2015-04-30 15:02:09 -08:00
Ben Alpert
4f70e58b37
[react-native] Only intercept console.error on iOS
2015-04-30 12:06:47 -08:00
Andrei Coman
8fe6626d5f
[react_native] JS files from D2028144: [react_native] Expose android version to JS
2015-04-30 11:42:14 -08:00
Ben Alpert
261a0af9bb
[react-native] Fix Chrome debugging
...
Summary:
Requiring ExceptionsManager in renderApplication (added in D2023119) led to a transitive require of ExecutionEnvironment, which has to run after InitializeJavaScriptAppEngine.
InitializeJavaScriptAppEngine is the right place for this sort of logic because we control the order that things are loaded, so move the console.error hook initialization there.
@public
Test Plan: Loaded shell app in simulator with Chrome debugging with no errors.
2015-04-30 02:16:40 -08:00
Spencer Ahrens
ecf7baebea
[React Native] Actually bring back console.error redboxes with disable flag
2015-04-28 14:53:36 -08:00
Philipp von Weitershausen
e88ba1a6a3
[ReactNative] Back out D2014163 entirely
2015-04-23 12:02:47 -08:00
Spencer Ahrens
e63bfae8f6
[ReactNative] console.error shows RedBox with pretty stack trace
2015-04-22 15:51:41 -08:00
Spencer Ahrens
0727cde42c
[ReactNative] Quick fix to busted redboxes
2015-04-22 10:29:36 -08:00
Andy Street
0f7ebf23a9
[react_native] JS files from D1999034: [react_native] Fix source maps on Android
2015-04-22 03:38:55 -08:00
Basil Hosmer
17be6ba82a
reinstate @flow
2015-04-17 18:17:16 -08:00
Krzysztof Magiera
679399289d
[react_native] Fix loadSourceMap problem with annotation section that prevents it from being loaded by packager.
2015-04-16 07:28:55 -08:00
guru inamdar
7a68691686
MapView to support MKPointAnnotation using new attribute annotate in Map...
...
Summary:
### MapView to support Pin annotation
var pinLocation = {
latitude: property.latitude,
longitude: property.longitude,
title: property.title
};
this.state = {propertyPoint: pinLocation};
<MapView style={styles.map} region={this.state.region} annotate={this.state.propertyPoint}>
</MapView>
![mapview-pinannotation](https://cloud.githubusercontent.com/assets/845379/7100280/6c1ffc08-dfe5-11e4-9d1b-8da6a65da1bc.png )
Closes https://github.com/facebook/react-native/pull/810
Github Author: guru inamdar <guru.inamdar@gmail.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-14 18:03:37 -08:00
Alex Kotliarskyi
128be89491
[react_native] JS files from D1961099: Format stack trace on native side
2015-04-02 14:55:58 -08:00
Christopher Chedeau
c82893be8a
[ReactNative] Remove global MutationObserver to fix Bluebird feature detection
2015-03-31 15:07:17 -08:00
Basil Hosmer
030b264eb4
flowify a few more Libraries
2015-03-26 10:13:38 -08:00
Christopher Chedeau
e1ef0328d9
[ReactNative] Expanded license on js files
2015-03-23 13:17:54 -08:00
Alex Kotliarskyi
d6a031b431
[ReactNative] Make JS stack traces in Xcode prettier
2015-03-19 09:25:46 -08:00
Spencer Ahrens
9086365faf
[ReactNative] Strip prefixes from NativeModules keys
2015-03-17 21:54:27 -08:00
Spencer Ahrens
d8ee4e87a1
[ReactKit] Remove NativeModulesDeprecated
2015-03-17 02:48:58 -08:00
Spencer Ahrens
b396de3cc8
[ReactNative] s/RK/RCT in OSS
2015-03-17 02:48:57 -08:00
Alex Kotliarskyi
6299803081
[ReactNative] Support loading sourcemaps from sourceMappingURL
2015-03-12 17:21:43 -08:00
Nick Lockwood
705a8e0144
Improved Geolocation API
2015-03-09 02:50:16 -08:00
Tim Yung
45deae03af
React Native: Remove Unnecessary `document.body` Shim
2015-03-04 13:31:04 -08:00
Tim Yung
eb3c3a27b1
React Native: Force !ExecutionEnvironment.canUseDOM
2015-03-03 18:27:31 -08:00
Christopher Chedeau
878bc9d491
[ReactNative] Migrate navigator.geolocation to open source
2015-02-28 21:25:27 -08:00
Spencer Ahrens
efae175a8e
[react-packager][streamline oss] Move open sourced JS source to react-native-github
2015-02-19 21:25:11 -08:00