mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user