Skip to content

Commit

Permalink
Merge pull request #11 from oximer/master
Browse files Browse the repository at this point in the history
Update Read.me
  • Loading branch information
jondot committed Mar 9, 2018
2 parents 137d469 + 258edc7 commit 3d2e1ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -54,6 +54,9 @@ import buffer from 'rn-snoopy/stream/buffer'

import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';

//If you are using React 0.48 or below, then you should import:
//import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';

const emitter = new EventEmitter()

const events = Snoopy.stream(emitter)
Expand Down

0 comments on commit 3d2e1ed

Please sign in to comment.