Skip to content

Commit 7fff49b

Browse files
authoredNov 28, 2016
docs(events): updates comments to match implementation
1 parent cdf5dd7 commit 7fff49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/util/events.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { ScrollView } from '../util/scroll-view';
2222
*
2323
* // second page (listen for the user created event)
2424
* events.subscribe('user:created', (user, time) => {
25-
* // userEventData is an array of parameters, so grab our first and only arg
25+
* // user and time are the same arguments passed in `events.publish(user, time)`
2626
* console.log('Welcome', user, 'at', time);
2727
* });
2828
*

0 commit comments

Comments
 (0)
Please sign in to comment.