Skip to content

Instantly share code, notes, and snippets.

@eviltester
Created December 11, 2017 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eviltester/f4b01d0b900cd4cbf64426f86c48a291 to your computer and use it in GitHub Desktop.
Save eviltester/f4b01d0b900cd4cbf64426f86c48a291 to your computer and use it in GitHub Desktop.
Create Data in TodoMVC BackBone app
for (x = 0; x < 100; x++) {
app.todos.create({
title: "todo ".concat(x),
order: app.todos.nextOrder(),
completed: false
})
}
@eviltester
Copy link
Author

The todoMVC backbone app is here http://todomvc.com/examples/backbone/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment