Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 72f93c0

Browse files
committed
Merge pull request #39 from react-native-simple-router-community/replace_fbemitter
Replace fbemitter with react native own's EventEmitter
2 parents 7e1b823 + 899f7dd commit 72f93c0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

‎index.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import React, {
77
PropTypes,
88
Text,
99
} from 'react-native';
10-
import { EventEmitter } from 'fbemitter';
10+
11+
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
1112

1213
import NavBarContainer from './components/NavBarContainer';
1314
import * as Styles from './styles';

‎package.json‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@
3131
"url": "https://github.com/react-native-simple-router-community/react-native-simple-router/issues"
3232
},
3333
"homepage": "https://github.com/react-native-simple-router-community/react-native-simple-router",
34-
"dependencies": {
35-
"fbemitter": "^2.0.1"
36-
},
3734
"peerDependencies": {
38-
"react-native": ">=0.12.0 || 0.5.0-rc1 || 0.6.0-rc || 0.7.0-rc || 0.7.0-rc.2 || 0.8.0-rc || 0.8.0-rc.2 || 0.9.0-rc || 0.10.0-rc || 0.11.0-rc || 0.12.0-rc || 0.13.0-rc || 0.14.0-rc || 0.15.0-rc || 0.16.0-rc || 0.17.0-rc || 0.18.0-rc"
35+
"react-native": ">=0.12.0 || 0.5.0-rc1 || 0.6.0-rc || 0.7.0-rc || 0.7.0-rc.2 || 0.8.0-rc || 0.8.0-rc.2 || 0.9.0-rc || 0.10.0-rc || 0.11.0-rc || 0.12.0-rc || 0.13.0-rc || 0.14.0-rc || 0.15.0-rc || 0.16.0-rc || 0.17.0-rc || 0.18.0-rc || 0.19.0-rc || 0.20.0-rc || 0.20.0-rc1"
3936
},
4037
"devDependencies": {
4138
"eslint": "^1.10.3",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /