OLD | NEW |
1 | 1 |
2 (function(scope) { | 2 (function(scope) { |
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; | 3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; |
4 MoreRouting.Params = Params; | 4 MoreRouting.Params = Params; |
5 | 5 |
6 /** | 6 /** |
7 * A collection of route parameters and their values, with nofications. | 7 * A collection of route parameters and their values, with nofications. |
8 * | 8 * |
9 * Params prefixed by `__` are reserved. | 9 * Params prefixed by `__` are reserved. |
10 * | 10 * |
(...skipping 26 matching lines...) Expand all Loading... |
37 set: function(value) { | 37 set: function(value) { |
38 if (state[param] === value) return; | 38 if (state[param] === value) return; |
39 state[param] = value; | 39 state[param] = value; |
40 model.__notify(param, value); | 40 model.__notify(param, value); |
41 }, | 41 }, |
42 }); | 42 }); |
43 }); | 43 }); |
44 } | 44 } |
45 | 45 |
46 })(window); | 46 })(window); |
OLD | NEW |