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
550f5e1d
Commit
550f5e1d
authored
Dec 28, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #365 from passy/350-fix-2
Coffeescript adjusted for
70d77154
parents
e6854934
cf5d277b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
architecture-examples/spine/src/app.coffee
architecture-examples/spine/src/app.coffee
+1
-1
No files found.
architecture-examples/spine/src/app.coffee
View file @
550f5e1d
...
...
@@ -79,7 +79,7 @@ class TodoApp extends Spine.Controller
text
=
(
count
)
->
if
count
is
1
then
'item'
else
'items'
active
=
Todo
.
active
().
length
completed
=
Todo
.
completed
().
length
@
count
.
html
"<
b>
#{
active
}
</b
>
#{
text
active
}
left"
@
count
.
html
"<
strong>
#{
active
}
</strong
>
#{
text
active
}
left"
@
clearCompleted
.
text
"Clear completed (
#{
completed
}
)"
...
...
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