Updates from Tuesday, March 3rd

- [ReactNative] Fix OSS Projects | Spencer Ahrens <sahrens@fb.com>
- [react-packager] check-in node_modules and update tests | Amjad Masad <amasad@fb.com>
- [react-packager] Cleanup package.json | Amjad Masad <amasad@fb.com>
- [react-packager] Implement bundle minification | Amjad Masad <amasad@fb.com>
- [react-packager] Add dev option to CLI | James Ide | Amjad Masad <amasad@fb.com>
- [react-packager] Add uglify-js library | Amjad Masad <amasad@fb.com>
- [f8] Make map zoomable on double-tap | Alex Kotliarskyi <frantic@fb.com>
This commit is contained in:
Spencer Ahrens
2015-03-03 08:38:50 -08:00
parent f77d9f8bae
commit caf21ae50d
191 changed files with 948 additions and 12647 deletions

View File

@@ -77,6 +77,10 @@ var SCROLLVIEW_REF = 'listviewscroll';
var ListView = React.createClass({
mixins: [ScrollResponder.Mixin, TimerMixin],
statics: {
DataSource: ListViewDataSource,
},
/**
* You must provide a renderRow function. If you omit any of the other render
* functions, ListView will simply skip rendering them.

View File

@@ -24,7 +24,7 @@ var ScrollViewPropTypes = {
showsHorizontalScrollIndicator: nativePropType(PropTypes.bool),
showsVerticalScrollIndicator: nativePropType(PropTypes.bool),
style: StyleSheetPropType(ViewStylePropTypes),
throttleScrollCallbackMS: nativePropType(PropTypes.number), // 200ms
throttleScrollCallbackMS: nativePropType(PropTypes.number), // null
};
module.exports = ScrollViewPropTypes;

View File

@@ -5,6 +5,7 @@
*/
'use strict';
var DocumentSelectionState = require('DocumentSelectionState');
var EventEmitter = require('EventEmitter');
var NativeMethodsMixin = require('NativeMethodsMixin');
var NativeModulesDeprecated = require('NativeModulesDeprecated');
@@ -180,7 +181,7 @@ var TextInput = React.createClass({
* See DocumentSelectionState.js, some state that is responsible for
* maintaining selection information for a document
*/
// selectionState: PropTypes.instanceOf(DocumentSelectionState),
selectionState: PropTypes.instanceOf(DocumentSelectionState),
/**
* The default value for the text input
*/