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
6ca1d7c6
Commit
6ca1d7c6
authored
Jun 24, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VanillaJS app: Wrap IIFE and use strict
parent
124b1c99
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
234 additions
and
230 deletions
+234
-230
vanilla-examples/vanillajs/index.html
vanilla-examples/vanillajs/index.html
+1
-1
vanilla-examples/vanillajs/js/app.js
vanilla-examples/vanillajs/js/app.js
+233
-229
No files found.
vanilla-examples/vanillajs/index.html
View file @
6ca1d7c6
...
...
@@ -12,7 +12,7 @@
<body>
<section
id=
"todoapp"
>
<header
id=
"header"
>
<h1>
T
odos
</h1>
<h1>
t
odos
</h1>
<input
id=
"new-todo"
placeholder=
"What needs to be done?"
autofocus
>
</header>
<section
id=
"main"
>
...
...
vanilla-examples/vanillajs/js/app.js
View file @
6ca1d7c6
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