From 0f796f3557b5aeb1772573cd7ecae2e835bccc0b Mon Sep 17 00:00:00 2001 From: yuji Date: Thu, 23 Apr 2015 17:01:54 +0800 Subject: [PATCH] fixes #1 --- README.md | 10 +++++----- dist/index.js | 1 - examples/examples/index.js | 1 - package.json | 2 +- src/index.js | 1 - 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 86b273dc..7472ecee 100644 --- a/README.md +++ b/README.md @@ -38,15 +38,15 @@ The best Swiper component for React Native. > Try these cases by yourself very easy, Just open `examples/swiper.xcodeproj` with Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases. -### [examples/basic.js](#11) +### [examples/basic.js](https://github.com/leecade/react-native-swiper/blob/master/examples/examples/basic.js) ![](http://i.imgur.com/zrsazAG.gif =300x) -### [examples/swiper.js](#11) +### [examples/swiper.js](https://github.com/leecade/react-native-swiper/blob/master/examples/examples/swiper.js) ![](http://i.imgur.com/hP3f3oO.gif =300x) -### [examples/phone.js](#11) +### [examples/phone.js](https://github.com/leecade/react-native-swiper/blob/master/examples/examples/phone.js) ![](http://i.imgur.com/c1BhjZm.gif =300x) @@ -216,7 +216,7 @@ AppRegistry.registerComponent('swiper', () => swiper) ### Examples -@TODO, see code in [examples](#1) first. +@TODO, see code in [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/examples) first. ### Development @@ -230,6 +230,6 @@ $ npm start ## Questions -Feel free to [contact me](mailto:leecade@163.com) or [create an issue](#1) +Feel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new) > Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥. diff --git a/dist/index.js b/dist/index.js index 3dca8f93..e1858ccf 100644 --- a/dist/index.js +++ b/dist/index.js @@ -125,7 +125,6 @@ exports['default'] = _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['d horizontal: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, children: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.node.isRequired, style: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity.View.propTypes.style, - horizontal: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, pagingEnabled: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, showsHorizontalScrollIndicator: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, showsVerticalScrollIndicator: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, diff --git a/examples/examples/index.js b/examples/examples/index.js index 3dca8f93..e1858ccf 100644 --- a/examples/examples/index.js +++ b/examples/examples/index.js @@ -125,7 +125,6 @@ exports['default'] = _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['d horizontal: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, children: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.node.isRequired, style: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity.View.propTypes.style, - horizontal: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, pagingEnabled: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, showsHorizontalScrollIndicator: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, showsVerticalScrollIndicator: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool, diff --git a/package.json b/package.json index bd1c68ad..786a80d8 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "react-native", "ios" ], - "version": "1.0.2", + "version": "1.0.3", "description": "Swiper component for React Native.", "main": "dist/index.js", "scripts": { diff --git a/src/index.js b/src/index.js index ad59f044..26b1069a 100644 --- a/src/index.js +++ b/src/index.js @@ -116,7 +116,6 @@ export default React.createClass({ horizontal : React.PropTypes.bool, children : React.PropTypes.node.isRequired, style : View.propTypes.style, - horizontal : React.PropTypes.bool, pagingEnabled : React.PropTypes.bool, showsHorizontalScrollIndicator : React.PropTypes.bool, showsVerticalScrollIndicator : React.PropTypes.bool,