fix #118 and change peerDependencies
bump to 4.2.0
This commit is contained in:
Horcrux
2016-08-26 09:25:51 +08:00
parent 81f8291af0
commit 4251854948
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
}, },
"dependencies": { "dependencies": {
"react": "^15.1.0", "react": "^15.1.0",
"react-native": "^0.31.0", "react-native": "^0.32.0",
"react-native-root-modal": "^1.0.4", "react-native-root-modal": "^1.0.4",
"react-native-svg": "../" "react-native-svg": "../"
} }
@@ -123,7 +123,6 @@ public class RNSVGSvgView extends ViewGroup {
mEventDispatcher.dispatchEvent( mEventDispatcher.dispatchEvent(
TouchEvent.obtain( TouchEvent.obtain(
mTargetTag, mTargetTag,
SystemClock.nanoTime(),
type, type,
ev, ev,
ev.getX(), ev.getX(),
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"version": "4.1.5", "version": "4.2.0",
"name": "react-native-svg", "name": "react-native-svg",
"description": "SVG library for react-native", "description": "SVG library for react-native",
"repository": { "repository": {
@@ -22,7 +22,7 @@
"lint": "eslint ./" "lint": "eslint ./"
}, },
"peerDependencies": { "peerDependencies": {
"react-native": ">=0.29.0" "react-native": ">=0.32.0"
}, },
"dependencies": { "dependencies": {
"color": "^0.11.1", "color": "^0.11.1",