add react bundle

This commit is contained in:
lh_wang
2015-09-11 16:59:19 +08:00
parent aa27c86896
commit 3e99b7ce72
+18 -15
View File
@@ -1406,14 +1406,19 @@ ActivityIndicatorIOS=
React.ActivityIndicatorIOS;var CameraRoll=React.CameraRoll;var Image=React.Image;var ListView=React.ListView;var StyleSheet=React.StyleSheet;var View=React.View;var AppRegistry=React.AppRegistry;var Text=React.Text;
React.ActivityIndicatorIOS;var CameraRoll=React.CameraRoll;var Image=React.Image;var ListView=React.ListView;var StyleSheet=React.StyleSheet;var View=React.View;var AppRegistry=React.AppRegistry;var Text=React.Text;var VibrationIOS=React.VibrationIOS;
CameraRoll.saveImageWithTag('http://vczero.github.io/ctrip/mouse.jpg',function(){
alert('保存图片成功');},
function(){
alert('保存图片失败');});
@@ -1434,10 +1439,6 @@ alert('保存图片失败');});
var fetchParams={
first:5,
groupTypes:'All',
assetType:'Photos'};
@@ -1446,16 +1447,12 @@ var App=React.createClass({
render:function(){
return (
React.createElement(View,null,
React.createElement(Text,null,'摄像头'),
React.createElement(Text,null,'摄像头222'),
React.createElement(Image,{style:{width:300,height:300},source:{uri:'assets-library://asset/asset.JPG?id=2A456415-B1AE-424A-9795-A0625A768EBD&ext=JPG'}})));},
componentDidMount:function(){
CameraRoll.getPhotos(fetchParams,function(data){
console.log(data);},
function(){
alert('失败');});}});
componentDidMount:function(){}});
@@ -1463,6 +1460,12 @@ alert('失败');});}});
VibrationIOS.vibrate();
AppRegistry.registerComponent('catapp',function(){return App;});
});
__d('react-native/Libraries/react-native/react-native.js',["React","ActivityIndicatorIOS","DatePickerIOS","Image","ListView","MapView","Modal","Navigator","NavigatorIOS","PickerIOS","ProgressViewIOS","ScrollView","SegmentedControlIOS","SliderIOS","SwitchIOS","TabBarIOS","Text","TextInput","TouchableHighlight","TouchableOpacity","TouchableWithoutFeedback","View","WebView","ActionSheetIOS","AdSupportIOS","AlertIOS","Animated","AppRegistry","AppStateIOS","AsyncStorage","CameraRoll","Dimensions","Easing","ImagePickerIOS","InteractionManager","LayoutAnimation","LinkingIOS","NetInfo","PanResponder","PixelRatio","PushNotificationIOS","Settings","StatusBarIOS","StyleSheet","VibrationIOS","RCTDeviceEventEmitter","RCTNativeAppEventEmitter","NativeModules","Platform","requireNativeComponent","EdgeInsetsPropType","PointPropType","LinkedStateMixin","ReactComponentWithPureRenderMixin","NativeModules","ReactUpdates","cloneWithProps","ReactFragment","update","ReactDefaultPerf","ReactTestUtils"],function(global, require, requireDynamic, requireLazy, module, exports) { 'use strict';