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
Sven Franck
todomvc
Commits
5763d113
Commit
5763d113
authored
Apr 30, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VanillaJS app: convert to tabs + remove some whitespace
parent
86462783
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
246 additions
and
256 deletions
+246
-256
reference-examples/vanillajs/index.html
reference-examples/vanillajs/index.html
+26
-36
reference-examples/vanillajs/js/app.js
reference-examples/vanillajs/js/app.js
+220
-220
No files found.
reference-examples/vanillajs/index.html
View file @
5763d113
<!
DOCTYPE
html>
<!
doctype
html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
VanillaJS • TodoMVC
</title>
<link
rel=
"stylesheet"
href=
"../../assets/base.css"
>
<meta
charset=
"utf-8"
>
<title>
VanillaJS • TodoMVC
</title>
<link
rel=
"stylesheet"
href=
"../../assets/base.css"
>
</head>
<body>
<section
id=
"todoapp"
>
<header
id=
"header"
>
<h1>
Todos
</h1>
<input
id=
"new-todo"
placeholder=
"What needs to be done?"
autofocus
>
</header>
<section
id=
"main"
>
<input
id=
"toggle-all"
type=
"checkbox"
>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<ul
id=
"todo-list"
>
</ul>
</section>
<footer
id=
"footer"
>
<span
id=
"todo-count"
></span>
<button
id=
"clear-completed"
>
Clear completed
</button>
</footer>
</section>
<footer
id=
"info"
>
<p>
Double-click to edit a todo.
</p>
<p>
Created by
<a
href=
"http://twitter.com/ffesseler"
>
Florian Fesseler
</a></p>
<p>
Cleanup, edits:
<a
href=
"http://github.com/boushley"
>
Aaron Boushley
</a>
.
</p>
</footer>
<!-- scripts here -->
<script
src=
"js/app.js"
></script>
<section
id=
"todoapp"
>
<header
id=
"header"
>
<h1>
Todos
</h1>
<input
id=
"new-todo"
placeholder=
"What needs to be done?"
autofocus
>
</header>
<section
id=
"main"
>
<input
id=
"toggle-all"
type=
"checkbox"
>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<ul
id=
"todo-list"
></ul>
</section>
<footer
id=
"footer"
>
<span
id=
"todo-count"
></span>
<button
id=
"clear-completed"
>
Clear completed
</button>
</footer>
</section>
<footer
id=
"info"
>
<p>
Double-click to edit a todo
</p>
<p>
Created by
<a
href=
"http://twitter.com/ffesseler"
>
Florian Fesseler
</a></p>
<p>
Cleanup, edits by
<a
href=
"http://github.com/boushley"
>
Aaron Boushley
</a></p>
</footer>
<script
src=
"js/app.js"
></script>
</body>
</html>
</html>
\ No newline at end of file
reference-examples/vanillajs/js/app.js
View file @
5763d113
This diff is collapsed.
Click to expand it.
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