forked from brandonaaron/sammystodos
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding patch for keyDown eventsthat werent correctly rendering on cre…
…ation. also patches for using native checkbox rather than the simulated variation
- Loading branch information
1 parent
b9357bf
commit bdf404e
Showing
5 changed files
with
37 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,5 @@ | |||
# Sammy's Todos | # Sammy's Todos | ||
|
|
||
This is a demo todo list app built on top of Sammy.js. It uses some advanced browser features and therefore requires an advanced browser. Features like CSS3 and HTML5 storage. | This is a demo todo list app built on top of Sammy.js. | ||
|
|
||
You can see a live demo of the app at: http://sammystodos.brandonaaron.net/ | Original base code: [Brandon Aaron](http://brandonaaron.net). This version, refactored and rewritten: Addy Osmani | ||
|
|||
## License | |||
|
|||
Sammy's Todos is licensed under the MIT License (LICENSE.txt). | |||
|
|||
Copyright (c) 2010 [Brandon Aaron](http://brandonaaron.net) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,11 @@ | |||
<li data-type="todo" data-id="<%= id %>" class="<%= done ? 'done' : '' %>"><span class="checkbox"></span><span class="trashcan" data-type="todo" data-id="<%= id %>"></span><span contenteditable="true" data-type="todo" data-id="<%= id %>"><%= name %></span></li> | <li data-type="todo" data-id="<%= id %>" class="<%= done ? 'done' : '' %>"> | ||
<div class="todo"> | |||
<div class="display"> | |||
<input class="check" type="checkbox" <%= done ? 'checked' : '' %>/> | |||
<span class="trashcan" data-type="todo" data-id="<%= id %>"></span> | |||
<span contenteditable="true" data-type="todo" data-id="<%= id %>" class="todo-item"><%= name %></span> | |||
</div> | |||
</div> | |||
</li> | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters