Permalink
Browse files

Added `name` as a key to every Step object.

  • Loading branch information...
bnoguchi committed Apr 5, 2011
1 parent 717b3be commit 22be9687a64dddec2beecf7ba6abe7a8e9f84021
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/everymodule.js
View
@@ -66,7 +66,7 @@ var everyModule = module.exports = {
routeSteps = steps[this._currentRoute] = {_order: []};
}
routeSteps._order.push(name);
- if (!routeSteps[name]) routeSteps[name] = {};
+ if (!routeSteps[name]) routeSteps[name] = {name: name};
// For configuring what the actual business
// logic is:

0 comments on commit 22be968

Please sign in to comment.