Skip to content

Commit 2c44032

Browse files
committed
Use the flux dispatcher
1 parent 01f0c6a commit 2c44032

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/dispatchers/LocationDispatcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var copyProperties = require('react/lib/copyProperties');
2-
var Dispatcher = require('react-dispatcher');
2+
var Dispatcher = require('flux').Dispatcher;
33

44
/**
55
* Dispatches actions that modify the URL.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"dependencies": {
5151
"es6-promise": "^1.0.0",
5252
"events": "^1.0.1",
53-
"qs": "^1.2.2",
54-
"react-dispatcher": "^0.2.1"
53+
"flux": "^2.0.0",
54+
"qs": "^1.2.2"
5555
},
5656
"keywords": [
5757
"react",

0 commit comments

Comments
 (0)