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
1877dd10
Commit
1877dd10
authored
Mar 09, 2013
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backbone app - new name for Backbone.LocalStorage func
parent
79270d78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
architecture-examples/backbone/js/collections/todos.js
architecture-examples/backbone/js/collections/todos.js
+2
-2
No files found.
architecture-examples/backbone/js/collections/todos.js
View file @
1877dd10
/*global Backbone
Store
*/
/*global Backbone */
var
app
=
app
||
{};
(
function
()
{
...
...
@@ -15,7 +15,7 @@ var app = app || {};
model
:
app
.
Todo
,
// Save all of the todo items under the `"todos"` namespace.
localStorage
:
new
Stor
e
(
'
todos-backbone
'
),
localStorage
:
new
Backbone
.
LocalStorag
e
(
'
todos-backbone
'
),
// Filter down the list of all todo items that are finished.
completed
:
function
()
{
...
...
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