Skip to content

Commit

Permalink
Thanks to imcotton for spotting some unneeded (and breaking) semicolo…
Browse files Browse the repository at this point in the history
…ns between the .addRequiredEvent statements in the ReadMe.
  • Loading branch information
Stray committed Nov 10, 2010
1 parent 3ef6acc commit c0352d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Where you want to map commands to multiple events:

// params: command, isOneShot, requireInOrder
compoundCommandMap.mapToEvents(SomeAwesomeCommand, true, true)
.addRequiredEvent(SomeEvent.SOMETHING_HAPPENED, SomeEvent);
.addRequiredEvent(SomeOtherEvent.SOMETHING_ELSE_HAPPENED, SomeOtherEvent, 'somethingElseHappened');
.addRequiredEvent(SomeEvent.SOMETHING_HAPPENED, SomeEvent)
.addRequiredEvent(SomeOtherEvent.SOMETHING_ELSE_HAPPENED, SomeOtherEvent, 'somethingElseHappened')
.addRequiredEvent(SomeOtherEvent.STUFF_HAPPENED, SomeOtherEvent, 'stuffHappened');


Expand Down

0 comments on commit c0352d8

Please sign in to comment.