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
Sven Franck
todomvc
Commits
d087ddce
Commit
d087ddce
authored
Aug 05, 2013
by
Pascal Hartig
Committed by
Pascal Hartig
Nov 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
angular: upgrade to 1.2
parent
ff1734d8
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9726 additions
and
6304 deletions
+9726
-6304
architecture-examples/angularjs/bower.json
architecture-examples/angularjs/bower.json
+2
-2
architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js
...angularjs/bower_components/angular-mocks/angular-mocks.js
+0
-1764
architecture-examples/angularjs/bower_components/angular/angular.js
...re-examples/angularjs/bower_components/angular/angular.js
+9717
-4533
architecture-examples/angularjs/index.html
architecture-examples/angularjs/index.html
+2
-2
architecture-examples/angularjs/test/config/karma.conf.js
architecture-examples/angularjs/test/config/karma.conf.js
+4
-2
architecture-examples/angularjs/test/package.json
architecture-examples/angularjs/test/package.json
+1
-1
No files found.
architecture-examples/angularjs/bower.json
View file @
d087ddce
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
"name"
:
"todomvc-angular"
,
"name"
:
"todomvc-angular"
,
"version"
:
"0.0.0"
,
"version"
:
"0.0.0"
,
"dependencies"
:
{
"dependencies"
:
{
"angular"
:
"~1.
0.7
"
,
"angular"
:
"~1.
2.0
"
,
"todomvc-common"
:
"~0.1.4"
"todomvc-common"
:
"~0.1.4"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"angular-mocks"
:
"~1.
0.5
"
"angular-mocks"
:
"~1.
2.0
"
}
}
}
}
architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js
deleted
100644 → 0
View file @
ff1734d8
This diff is collapsed.
Click to expand it.
architecture-examples/angularjs/bower_components/angular/angular.js
100644 → 100755
View file @
d087ddce
This diff is collapsed.
Click to expand it.
architecture-examples/angularjs/index.html
View file @
d087ddce
...
@@ -19,14 +19,14 @@
...
@@ -19,14 +19,14 @@
<input
id=
"toggle-all"
type=
"checkbox"
ng-model=
"allChecked"
ng-click=
"markAll(allChecked)"
>
<input
id=
"toggle-all"
type=
"checkbox"
ng-model=
"allChecked"
ng-click=
"markAll(allChecked)"
>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<ul
id=
"todo-list"
>
<ul
id=
"todo-list"
>
<li
ng-repeat=
"todo in todos | filter:statusFilter"
ng-class=
"{completed: todo.completed, editing: todo == editedTodo}"
>
<li
ng-repeat=
"todo in todos
track by $index
| filter:statusFilter"
ng-class=
"{completed: todo.completed, editing: todo == editedTodo}"
>
<div
class=
"view"
>
<div
class=
"view"
>
<input
class=
"toggle"
type=
"checkbox"
ng-model=
"todo.completed"
>
<input
class=
"toggle"
type=
"checkbox"
ng-model=
"todo.completed"
>
<label
ng-dblclick=
"editTodo(todo)"
>
{{todo.title}}
</label>
<label
ng-dblclick=
"editTodo(todo)"
>
{{todo.title}}
</label>
<button
class=
"destroy"
ng-click=
"removeTodo(todo)"
></button>
<button
class=
"destroy"
ng-click=
"removeTodo(todo)"
></button>
</div>
</div>
<form
ng-submit=
"doneEditing(todo)"
>
<form
ng-submit=
"doneEditing(todo)"
>
<input
class=
"edit"
ng-model=
"todo.title"
todo-escape=
"revertEditing(todo)"
todo-blur=
"doneEditing(todo)"
todo-focus=
"todo == editedTodo"
>
<input
class=
"edit"
ng-
trim=
"false"
ng-
model=
"todo.title"
todo-escape=
"revertEditing(todo)"
todo-blur=
"doneEditing(todo)"
todo-focus=
"todo == editedTodo"
>
</form>
</form>
</li>
</li>
</ul>
</ul>
...
...
architecture-examples/angularjs/test/config/
testacular
.conf.js
→
architecture-examples/angularjs/test/config/
karma
.conf.js
View file @
d087ddce
...
@@ -9,6 +9,8 @@ files = [
...
@@ -9,6 +9,8 @@ files = [
'
test/unit/**/*.js
'
'
test/unit/**/*.js
'
];
];
autoWatch
=
tru
e
;
autoWatch
=
fals
e
;
browsers
=
[
'
Chrome
'
];
singleRun
=
true
;
browsers
=
[
'
Chrome
'
,
'
Firefox
'
];
architecture-examples/angularjs/test/package.json
View file @
d087ddce
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
"karma"
:
"~0.8.5"
"karma"
:
"~0.8.5"
},
},
"scripts"
:
{
"scripts"
:
{
"test"
:
"karma start config/
testacular
.conf.js"
"test"
:
"karma start config/
karma
.conf.js"
},
},
"dependencies"
:
{}
"dependencies"
:
{}
}
}
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