Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/arqex/fluxify
Browse files Browse the repository at this point in the history
  • Loading branch information
Javi committed Dec 26, 2014
2 parents 7929c80 + 3669d88 commit 1d65dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ But if the enviroment doesn't have the global ```Promise``` object defined, it i
```js
// Using Jake Archibald's es6 promise implementation
var flux = require('fluxify'),
Promise = require('es6-promise')
Promise = require('es6-promise').Promise
;

// Let's get async!
Expand Down Expand Up @@ -217,7 +217,7 @@ In Fluxify there are no action objects, but the concept of Action is important i
var flux = require('fluxify');

flux.dispatcher.register( function( payload ){
if( payload.actionType == 'wakeUp')
if( payload.actionType == 'sayHello')
console.log( 'Hello ' + payload.name + '!' );
});

Expand Down Expand Up @@ -247,7 +247,7 @@ Let's fluxify:
var flux = require('fluxify');

flux.dispatcher.register( function( actionName, name ){
if( actionName == 'wakeUp')
if( actionName == 'sayHello')
console.log( 'Hello ' + name + '!' );
});

Expand Down

0 comments on commit 1d65dad

Please sign in to comment.