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
91ddd323
Commit
91ddd323
authored
Jan 19, 2014
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AngularDart: Upgrade to 0.9.4
parent
3547a879
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17051 additions
and
16496 deletions
+17051
-16496
labs/architecture-examples/angular-dart/pubspec.lock
labs/architecture-examples/angular-dart/pubspec.lock
+3
-3
labs/architecture-examples/angular-dart/web/index.html
labs/architecture-examples/angular-dart/web/index.html
+3
-1
labs/architecture-examples/angular-dart/web/main.dart.js
labs/architecture-examples/angular-dart/web/main.dart.js
+17045
-16488
labs/architecture-examples/angular-dart/web/todo.dart
labs/architecture-examples/angular-dart/web/todo.dart
+0
-4
No files found.
labs/architecture-examples/angular-dart/pubspec.lock
View file @
91ddd323
...
...
@@ -8,7 +8,7 @@ packages:
angular:
description: angular
source: hosted
version: "0.9.
3
"
version: "0.9.
4
"
args:
description: args
source: hosted
...
...
@@ -20,7 +20,7 @@ packages:
collection:
description: collection
source: hosted
version: "0.9.
0
"
version: "0.9.
1
"
di:
description: di
source: hosted
...
...
@@ -64,7 +64,7 @@ packages:
unittest:
description: unittest
source: hosted
version: "0.9.
2+1
"
version: "0.9.
3
"
unmodifiable_collection:
description: unmodifiable_collection
source: hosted
...
...
labs/architecture-examples/angular-dart/web/index.html
View file @
91ddd323
...
...
@@ -36,7 +36,9 @@
</ul>
</section>
<footer
id=
"footer"
ng-hide=
"!todo.total()"
ng-cloak
>
<span
id=
"todo-count"
><strong>
{{todo.remaining()}}
</strong>
{{todo.itemsLeftText}}
</span>
<span
id=
"todo-count"
><strong>
{{todo.remaining()}}
</strong>
<ng-pluralize
count=
"todo.remaining()"
when=
"{ one: 'item left', other: 'items left' }"
></ng-pluralize>
</span>
<button
id=
"clear-completed"
ng-click=
"todo.clearCompleted()"
ng-if=
"todo.completed() > 0"
>
Clear completed ({{todo.completed()}})
</button>
</footer>
</section>
...
...
labs/architecture-examples/angular-dart/web/main.dart.js
View file @
91ddd323
This diff is collapsed.
Click to expand it.
labs/architecture-examples/angular-dart/web/todo.dart
View file @
91ddd323
...
...
@@ -116,10 +116,6 @@ class TodoController {
items
.
forEach
((
i
)
=>
i
.
completed
=
value
);
}
String
get
itemsLeftText
{
return
'item'
+
(
remaining
()
!=
1
?
's'
:
''
)
+
' left'
;
}
void
editTodo
(
Item
item
)
{
editedItem
=
item
;
previousItem
=
item
.
clone
();
...
...
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