aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorIgor Minar2012-04-03 15:28:09 -0700
committerIgor Minar2012-04-04 16:10:44 -0700
commit15ecc6f3668885ebc5c7130dd34e00059ddf79ae (patch)
treeab037fbdf3df20f53e96169925367536de736ce7 /Rakefile
parent53b2254ea70019937463d8e079e1991b3d3d1d8b (diff)
downloadangular.js-15ecc6f3668885ebc5c7130dd34e00059ddf79ae.tar.bz2
feat($route): allow chaining of whens and otherwise
Previously one had to write: $routeProvider.when('/foo', {...}); $routeProvider.when('/bar', {...}); $routeProvider.otherwise({...}); After this change it's just: $routeProvider. when('/foo', {...}). when('/bar', {...}). otherwise({...}); Breaks #when which used to return the route definition object but now returns self. Returning the route definition object is not very useful so its likely that nobody ever used it.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions