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
eac2af59
Commit
eac2af59
authored
Jul 25, 2015
by
Arthur Verschaeve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thorax-lumber: compile the app using the latest lumbar
parent
631a1734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/thorax_lumbar/public/todomvc.js
examples/thorax_lumbar/public/todomvc.js
+1
-0
No files found.
examples/thorax_lumbar/public/todomvc.js
View file @
eac2af59
...
@@ -209,6 +209,7 @@ Thorax.templates['src/templates/stats'] = Handlebars.compile('<span id=\"todo-co
...
@@ -209,6 +209,7 @@ Thorax.templates['src/templates/stats'] = Handlebars.compile('<span id=\"todo-co
.
addClass
(
'
selected
'
);
.
addClass
(
'
selected
'
);
}
}
});
});
;;
;;
Thorax
.
templates
[
'
src/templates/app
'
]
=
Handlebars
.
compile
(
'
<section id=
\
"todoapp
\
">
\n
<header id=
\
"header
\
">
\n
<h1>todos</h1>
\n
<input id=
\
"new-todo
\
" placeholder=
\
"What needs to be done?
\
" autofocus>
\n
</header>
\n
{{^empty collection}}
\n
<section id=
\
"main
\
">
\n
<input id=
\
"toggle-all
\
" type=
\
"checkbox
\
">
\n
<label for=
\
"toggle-all
\
">Mark all as complete</label>
\n
{{#collection item-view=
\
"todo-item
\
" tag=
\
"ul
\
" id=
\
"todo-list
\
"}}
\n
<div class=
\
"view
\
">
\n
<input class=
\
"toggle
\
" type=
\
"checkbox
\
" {{#if completed}}checked=
\
"checked
\
"{{/if}}>
\n
<label>{{title}}</label>
\n
<button class=
\
"destroy
\
"></button>
\n
</div>
\n
<input class=
\
"edit
\
" value=
\
"{{title}}
\
">
\n
{{/collection}}
\n
</section>
\n
{{view
\
"stats
\
" tag=
\
"footer
\
" id=
\
"footer
\
"}}
\n
{{/empty}}
\n
</section>
\n
<div id=
\
"info
\
">
\n
<p>Double-click to edit a todo</p>
\n
<p>Written by <a href=
\
"https://github.com/addyosmani
\
">Addy Osmani</a> & <a href=
\
"https://github.com/eastridge
\
">Ryan Eastridge</a></p>
\n
<p>Part of <a href=
\
"http://todomvc.com
\
">TodoMVC</a></p>
\n
</div>
\n
'
);
$
(
function
(
$
)
{
Thorax
.
templates
[
'
src/templates/app
'
]
=
Handlebars
.
compile
(
'
<section id=
\
"todoapp
\
">
\n
<header id=
\
"header
\
">
\n
<h1>todos</h1>
\n
<input id=
\
"new-todo
\
" placeholder=
\
"What needs to be done?
\
" autofocus>
\n
</header>
\n
{{^empty collection}}
\n
<section id=
\
"main
\
">
\n
<input id=
\
"toggle-all
\
" type=
\
"checkbox
\
">
\n
<label for=
\
"toggle-all
\
">Mark all as complete</label>
\n
{{#collection item-view=
\
"todo-item
\
" tag=
\
"ul
\
" id=
\
"todo-list
\
"}}
\n
<div class=
\
"view
\
">
\n
<input class=
\
"toggle
\
" type=
\
"checkbox
\
" {{#if completed}}checked=
\
"checked
\
"{{/if}}>
\n
<label>{{title}}</label>
\n
<button class=
\
"destroy
\
"></button>
\n
</div>
\n
<input class=
\
"edit
\
" value=
\
"{{title}}
\
">
\n
{{/collection}}
\n
</section>
\n
{{view
\
"stats
\
" tag=
\
"footer
\
" id=
\
"footer
\
"}}
\n
{{/empty}}
\n
</section>
\n
<div id=
\
"info
\
">
\n
<p>Double-click to edit a todo</p>
\n
<p>Written by <a href=
\
"https://github.com/addyosmani
\
">Addy Osmani</a> & <a href=
\
"https://github.com/eastridge
\
">Ryan Eastridge</a></p>
\n
<p>Part of <a href=
\
"http://todomvc.com
\
">TodoMVC</a></p>
\n
</div>
\n
'
);
$
(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
...
...
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