react-native
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -27,3 +27,3 @@ /** | ||
Press Cmd+R to reload,{'\n'} | ||
Cmd+Shift+Z for dev menu | ||
Cmd+Control+Z for dev menu | ||
</Text> | ||
@@ -30,0 +30,0 @@ </View> |
@@ -465,3 +465,3 @@ /** | ||
if (AnimationsDebugModule) { | ||
AnimationsDebugModule.stopRecordingFps(); | ||
AnimationsDebugModule.stopRecordingFps(Date.now()); | ||
} | ||
@@ -468,0 +468,0 @@ this._hideOtherScenes(presentedIndex); |
@@ -80,3 +80,3 @@ /** | ||
}), | ||
navigationBarRouteMapper: PropTypes.shape({ | ||
routeMapper: PropTypes.shape({ | ||
rightContentForRoute: PropTypes.func, | ||
@@ -91,3 +91,3 @@ titleContentForRoute: PropTypes.func, | ||
}), | ||
navigationBarStyles: View.propTypes.style, | ||
style: View.propTypes.style, | ||
}, | ||
@@ -149,3 +149,3 @@ | ||
return ( | ||
<View style={[styles.breadCrumbContainer, this.props.navigationBarStyles]}> | ||
<View style={[styles.breadCrumbContainer, this.props.style]}> | ||
{titles} | ||
@@ -160,3 +160,3 @@ {icons} | ||
var uid = this.props.navState.idStack[index]; | ||
var navBarRouteMapper = this.props.navigationBarRouteMapper; | ||
var navBarRouteMapper = this.props.routeMapper; | ||
var navOps = this.props.navigator; | ||
@@ -206,3 +206,3 @@ var alreadyRendered = this.refs['crumbContainer' + uid]; | ||
} | ||
var navBarRouteMapper = this.props.navigationBarRouteMapper; | ||
var navBarRouteMapper = this.props.routeMapper; | ||
var titleContent = navBarRouteMapper.titleContentForRoute( | ||
@@ -227,3 +227,3 @@ navState.routeStack[index], | ||
var navState = this.props.navState; | ||
var navBarRouteMapper = this.props.navigationBarRouteMapper; | ||
var navBarRouteMapper = this.props.routeMapper; | ||
var uid = navState.idStack[index]; | ||
@@ -230,0 +230,0 @@ var alreadyRendered = this.refs['rightContainer' + uid]; |
@@ -49,3 +49,3 @@ /** | ||
navigator: React.PropTypes.object, | ||
navigationBarRouteMapper: React.PropTypes.shape({ | ||
routeMapper: React.PropTypes.shape({ | ||
Title: React.PropTypes.func.isRequired, | ||
@@ -60,3 +60,3 @@ LeftButton: React.PropTypes.func.isRequired, | ||
}), | ||
navigationBarStyles: View.propTypes.style, | ||
style: View.propTypes.style, | ||
}, | ||
@@ -138,3 +138,3 @@ | ||
return ( | ||
<View style={[styles.navBarContainer, this.props.navigationBarStyles]}> | ||
<View style={[styles.navBarContainer, this.props.style]}> | ||
{components} | ||
@@ -151,3 +151,2 @@ </View> | ||
var navState = this.props.navState; | ||
var navBarRouteMapper = this.props.navigationBarRouteMapper; | ||
var uid = navState.idStack[index]; | ||
@@ -167,3 +166,3 @@ var containerRef = componentName + 'Container' + uid; | ||
var content = navBarRouteMapper[componentName]( | ||
var content = this.props.routeMapper[componentName]( | ||
navState.routeStack[index], | ||
@@ -170,0 +169,0 @@ this.props.navigator, |
@@ -59,26 +59,24 @@ /** | ||
propTypes: { | ||
/** | ||
* `uri` is a string representing the resource identifier for the image, which | ||
* could be an http address, a local file path, or the name of a static image | ||
* resource (which should be wrapped in the `required('image!name')` function). | ||
*/ | ||
source: PropTypes.shape({ | ||
/** | ||
* A string representing the resource identifier for the image, which | ||
* could be an http address, a local file path, or the name of a static image | ||
* resource (which should be wrapped in the `ix` function). | ||
*/ | ||
uri: PropTypes.string, | ||
}), | ||
/** | ||
* accessible - Whether this element should be revealed as an accessible | ||
* element. | ||
* Whether this element should be revealed as an accessible element. | ||
*/ | ||
accessible: PropTypes.bool, | ||
/** | ||
* accessibilityLabel - Custom string to display for accessibility. | ||
* Custom string to display for accessibility. | ||
*/ | ||
accessibilityLabel: PropTypes.string, | ||
/** | ||
* capInsets - When the image is resized, the corners of the size specified | ||
* When the image is resized, the corners of the size specified | ||
* by capInsets will stay a fixed size, but the center content and borders | ||
* of the image will be stretched. This is useful for creating resizable | ||
* rounded buttons, shadows, and other resizable assets. More info: | ||
* | ||
* https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/index.html#//apple_ref/occ/instm/UIImage/resizableImageWithCapInsets: | ||
* rounded buttons, shadows, and other resizable assets. More info on | ||
* [Apple documentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/index.html#//apple_ref/occ/instm/UIImage/resizableImageWithCapInsets) | ||
*/ | ||
@@ -88,3 +86,3 @@ capInsets: EdgeInsetsPropType, | ||
/** | ||
* testID - A unique identifier for this element to be used in UI Automation | ||
* A unique identifier for this element to be used in UI Automation | ||
* testing scripts. | ||
@@ -91,0 +89,0 @@ */ |
{ | ||
"name": "react-native", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A framework for building native apps using React", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1952544
485
29118