Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eugene Shen
todomvc
Commits
a1e91120
Commit
a1e91120
authored
Nov 30, 2014
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AngularJS: Upgrade to 1.3.4
parent
83d21c67
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
360 additions
and
196 deletions
+360
-196
examples/angularjs/bower.json
examples/angularjs/bower.json
+3
-3
examples/angularjs/bower_components/angular-route/angular-route.js
...angularjs/bower_components/angular-route/angular-route.js
+3
-3
examples/angularjs/bower_components/angular/angular.js
examples/angularjs/bower_components/angular/angular.js
+354
-190
No files found.
examples/angularjs/bower.json
View file @
a1e91120
...
...
@@ -2,11 +2,11 @@
"name"
:
"todomvc-angular"
,
"version"
:
"0.0.0"
,
"dependencies"
:
{
"angular"
:
"1.3.
3
"
,
"angular"
:
"1.3.
4
"
,
"todomvc-common"
:
"~0.3.0"
},
"devDependencies"
:
{
"angular-mocks"
:
"1.3.
3
"
,
"angular-route"
:
"1.3.
3
"
"angular-mocks"
:
"1.3.
4
"
,
"angular-route"
:
"1.3.
4
"
}
}
examples/angularjs/bower_components/angular-route/angular-route.js
View file @
a1e91120
/**
* @license AngularJS v1.3.
3
* @license AngularJS v1.3.
4
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -41,7 +41,7 @@ var ngRouteModule = angular.module('ngRoute', ['ng']).
*/
function
$RouteProvider
()
{
function
inherit
(
parent
,
extra
)
{
return
angular
.
extend
(
new
(
angular
.
extend
(
function
()
{},
{
prototype
:
parent
}))(
),
extra
);
return
angular
.
extend
(
Object
.
create
(
parent
),
extra
);
}
var
routes
=
{};
...
...
@@ -657,7 +657,7 @@ function $RouteProvider() {
if
(
i
===
0
)
{
result
.
push
(
segment
);
}
else
{
var
segmentMatch
=
segment
.
match
(
/
(\w
+
)(
.*
)
/
);
var
segmentMatch
=
segment
.
match
(
/
(\w
+
)(
?:[
?*
])?(
.*
)
/
);
var
key
=
segmentMatch
[
1
];
result
.
push
(
params
[
key
]);
result
.
push
(
segmentMatch
[
2
]
||
''
);
...
...
examples/angularjs/bower_components/angular/angular.js
View file @
a1e91120
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment