Skip to content

Commit

Permalink
upgrade subscribe-ui-event
Browse files Browse the repository at this point in the history
  • Loading branch information
hankhsiao committed Dec 18, 2015
1 parent eb34c56 commit 02a1246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"classnames": "^2.0.0",
"react-addons-shallow-compare": "^0.14.2",
"subscribe-ui-event": "^0.2.0"
"subscribe-ui-event": "^1.0.0"
},
"devDependencies": {
"babel": "^5.0.0",
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/Sticky-test.js
Expand Up @@ -10,7 +10,7 @@ process.env.NODE_ENV = 'development';
var jsx = require('jsx-test').jsxTranspile(process.env.COVERAGE);

var ae;
var ee = require('subscribe-ui-event/dist/eventEmitter').eventEmitter;
var ee = require('subscribe-ui-event/dist/globalVars').EE;
var expect = require('expect.js');
var inner;
var outer;
Expand Down Expand Up @@ -72,8 +72,8 @@ window.scrollTo = function (x, y) {
SCROLL_POS = y;
ae.scroll.delta = SCROLL_POS - ae.scroll.top;
ae.scroll.top = SCROLL_POS;
ee.emit('scrollStart:15:raf', {}, ae);
ee.emit('scroll:15:raf', {}, ae);
ee.emit('scrollStart:raf', {}, ae);
ee.emit('scroll:raf', {}, ae);
};

window.resizeTo = function (x, y) {
Expand Down

0 comments on commit 02a1246

Please sign in to comment.