Commit 0cfffc02 authored by Pascal Hartig's avatar Pascal Hartig

AngularJS: Upgrade to 1.2.22 (skipping 1.2.21, oops)

parent f07cabac
......@@ -2,11 +2,11 @@
"name": "todomvc-angular",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.20",
"angular": "1.2.22",
"todomvc-common": "~0.1.4"
},
"devDependencies": {
"angular-mocks": "1.2.20",
"angular-route": "1.2.20"
"angular-mocks": "1.2.22",
"angular-route": "1.2.22"
}
}
/**
* @license AngularJS v1.2.20
* @license AngularJS v1.2.22
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
......@@ -473,9 +473,7 @@ function $RouteProvider(){
for (var i = 1, len = m.length; i < len; ++i) {
var key = keys[i - 1];
var val = 'string' == typeof m[i]
? decodeURIComponent(m[i])
: m[i];
var val = m[i];
if (key && val) {
params[key.name] = val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment