Skip to content

Commit

Permalink
Globally set the last changed location on a watch event
Browse files Browse the repository at this point in the history
  • Loading branch information
zerious committed Jul 4, 2014
1 parent 2771cb8 commit 8462391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Load.js
Expand Up @@ -275,7 +275,7 @@ var Load = module.exports = Waiter.extend({
*/
replayActions: function replayActions(location) {
var self = this;
self.changedLocation = location;
self.changedLocation = chug.changedLocation = location;
self.isReplaying = true;
self.replayableActions.forEach(function (action) {
var method = action[0];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"route",
"router"
],
"version": "0.1.36",
"version": "0.1.37",
"main": "chug.js",
"homepage": "http://lighter.io/chug",
"repository": "git://github.com/zerious/chug.git",
Expand Down

0 comments on commit 8462391

Please sign in to comment.