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
7ae098d5
Commit
7ae098d5
authored
Jan 30, 2013
by
Ryan Eastridge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to thorax latest, fix checkbox error on empty. Closes #411
parent
88eb07a3
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
435 additions
and
411 deletions
+435
-411
labs/architecture-examples/thorax/js/lib/thorax.js
labs/architecture-examples/thorax/js/lib/thorax.js
+143
-136
labs/architecture-examples/thorax/js/views/app.js
labs/architecture-examples/thorax/js/views/app.js
+2
-1
labs/dependency-examples/thorax_lumbar/public/base.js
labs/dependency-examples/thorax_lumbar/public/base.js
+143
-136
labs/dependency-examples/thorax_lumbar/public/todomvc.js
labs/dependency-examples/thorax_lumbar/public/todomvc.js
+2
-1
labs/dependency-examples/thorax_lumbar/src/js/lib/thorax.js
labs/dependency-examples/thorax_lumbar/src/js/lib/thorax.js
+143
-136
labs/dependency-examples/thorax_lumbar/src/js/views/app.js
labs/dependency-examples/thorax_lumbar/src/js/views/app.js
+2
-1
No files found.
labs/architecture-examples/thorax/js/lib/thorax.js
View file @
7ae098d5
This diff is collapsed.
Click to expand it.
labs/architecture-examples/thorax/js/views/app.js
View file @
7ae098d5
...
...
@@ -24,7 +24,8 @@ $(function( $ ) {
},
toggleToggleAllButton
:
function
()
{
this
.
$
(
'
#toggle-all
'
)[
0
].
checked
=
!
this
.
collection
.
remaining
().
length
;
var
toggleInput
=
this
.
$
(
'
#toggle-all
'
)[
0
];
toggleInput
&&
(
toggleInput
.
checked
=
!
this
.
collection
.
remaining
().
length
);
},
// When this function is specified, items will only be shown
...
...
labs/dependency-examples/thorax_lumbar/public/base.js
View file @
7ae098d5
This diff is collapsed.
Click to expand it.
labs/dependency-examples/thorax_lumbar/public/todomvc.js
View file @
7ae098d5
...
...
@@ -243,7 +243,8 @@ Thorax.templates['src/templates/stats'] = Handlebars.compile('<span id=\"todo-co
},
toggleToggleAllButton
:
function
()
{
this
.
$
(
'
#toggle-all
'
)[
0
].
checked
=
!
this
.
collection
.
remaining
().
length
;
var
toggleInput
=
this
.
$
(
'
#toggle-all
'
)[
0
];
toggleInput
&&
(
toggleInput
.
checked
=
!
this
.
collection
.
remaining
().
length
);
},
// When this function is specified, items will only be shown
...
...
labs/dependency-examples/thorax_lumbar/src/js/lib/thorax.js
View file @
7ae098d5
This diff is collapsed.
Click to expand it.
labs/dependency-examples/thorax_lumbar/src/js/views/app.js
View file @
7ae098d5
...
...
@@ -24,7 +24,8 @@ $(function( $ ) {
},
toggleToggleAllButton
:
function
()
{
this
.
$
(
'
#toggle-all
'
)[
0
].
checked
=
!
this
.
collection
.
remaining
().
length
;
var
toggleInput
=
this
.
$
(
'
#toggle-all
'
)[
0
];
toggleInput
&&
(
toggleInput
.
checked
=
!
this
.
collection
.
remaining
().
length
);
},
// When this function is specified, items will only be shown
...
...
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