Updates from Mon 23 Mar

- [React Native] Fix iOS 7 crashes b/c missing Photos.fmwk | Alex Akers
- UIExplorer flowification | Basil Hosmer
- Add clearImmediate module | Marshall Roch
- [ReactNative] Print directories packager is serving files from | Alex Kotliarskyi
- Work around flow bug with exports | Marshall Roch
- [ReactNative] Move packager/init.sh to GitHub | Alex Kotliarskyi
- [ReactNative] Remove react-native/package.json | Christopher Chedeau
- [ReactNative] Returning actual contentSize for RCTScrollViewManager | Henry Lung
This commit is contained in:
Christopher Chedeau
2015-03-23 10:06:16 -07:00
parent a738b49ae2
commit 82461e04ab
33 changed files with 112 additions and 96 deletions

View File

@@ -1,5 +1,6 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* @flow
*/
/* eslint no-console: 0 */
'use strict';
@@ -19,13 +20,15 @@ exports.description = 'Examples of using the Geolocation API.';
exports.examples = [
{
title: 'navigator.geolocation',
render: function() {
render: function(): ReactElement {
return <GeolocationExample />;
},
}
];
var GeolocationExample = React.createClass({
watchID: (null: ?number),
getInitialState: function() {
return {
initialPosition: 'unknown',