Skip to content

Commit

Permalink
Try w/ keyMirror npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
bltnico committed Mar 21, 2017
1 parent f5b9589 commit 082f06d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
npm-debug.log
ios/BlockableWebView/BlockableWebView.xcodeproj/*/*
ios/BlockableWebView/.DS_Store
ios/BlockableWebView/.DS_Store
ios/BlockableWebView/.DS_Store
node_modules
2 changes: 1 addition & 1 deletion blockableWebView.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
requireNativeComponent,
} from 'react-native';

import keyMirror from 'react/lib/keyMirror';
import keyMirror from 'keymirror';
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';

const RCT_WEBVIEW_REF = 'webview';
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"bugs": {
"url": "https://github.com/bltnico/react-native-blockable-webview/issues"
},
"homepage": "https://github.com/bltnico/react-native-blockable-webview#readme"
"homepage": "https://github.com/bltnico/react-native-blockable-webview#readme",
"dependencies": {
"keymirror": "^0.1.1"
}
}

0 comments on commit 082f06d

Please sign in to comment.