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
5e8f0a49
Commit
5e8f0a49
authored
Apr 21, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add empty base.js. Will be used later to add common code to all apps.
parent
2bbda873
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
assets/base.js
assets/base.js
+0
-0
template/index.html
template/index.html
+9
-8
No files found.
assets/base.js
0 → 100644
View file @
5e8f0a49
template/index.html
View file @
5e8f0a49
...
...
@@ -14,13 +14,13 @@
<h1>
todos
</h1>
<input
id=
"new-todo"
placeholder=
"What needs to be done?"
autofocus
>
</header>
<!--
t
his section should be hidden by default and shown when there are todos -->
<!--
T
his section should be hidden by default and shown when there are todos -->
<section
id=
"main"
>
<input
id=
"toggle-all"
type=
"checkbox"
>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<ul
id=
"todo-list"
>
<!--
t
hese are here just to show the structure of the list items -->
<!--
l
ist items should get the class `editing` when editing and `completed` when marked as completed -->
<!--
T
hese are here just to show the structure of the list items -->
<!--
L
ist items should get the class `editing` when editing and `completed` when marked as completed -->
<li
class=
"completed"
>
<div
class=
"view"
>
<input
class=
"toggle"
type=
"checkbox"
checked
>
...
...
@@ -39,11 +39,11 @@
</li>
</ul>
</section>
<!--
t
his footer should hidden by default and shown when there are todos -->
<!--
T
his footer should hidden by default and shown when there are todos -->
<footer
id=
"footer"
>
<!--
t
his should be `0 items left` by default -->
<!--
T
his should be `0 items left` by default -->
<span
id=
"todo-count"
><strong>
1
</strong>
item left
</span>
<!--
r
emove this if you don't implement routing -->
<!--
R
emove this if you don't implement routing -->
<ul
id=
"filters"
>
<li>
<a
class=
"selected"
href=
"#/"
>
All
</a>
...
...
@@ -61,11 +61,12 @@
<footer
id=
"info"
>
<p>
Double-click to edit a todo
</p>
<p>
Template by
<a
href=
"http://sindresorhus.com"
>
Sindre Sorhus
</a></p>
<!--
c
hange this out with your name and url ↓ -->
<!--
C
hange this out with your name and url ↓ -->
<p>
Created by
<a
href=
"http://addyosmani.github.com/todomvc/"
>
you
</a></p>
<p>
Part of
<a
href=
"http://todomvc.com"
>
TodoMVC
</a></p>
</footer>
<!-- scripts here -->
<!-- Scripts here. Don't remove this ↓ -->
<script
src=
"../assets/base.js"
></script>
<script
src=
"js/app.js"
></script>
</body>
</html>
\ No newline at end of file
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