Skip to content

Instantly share code, notes, and snippets.

@tphdev
Created November 10, 2016 13:45
Show Gist options
  • Save tphdev/49057f35db6342447c26e157769bdf5f to your computer and use it in GitHub Desktop.
Save tphdev/49057f35db6342447c26e157769bdf5f to your computer and use it in GitHub Desktop.
Actions - Basic Setup
const Backbone = require('backbone');
// import STORE from '../store/store.js';
// import toastr from 'toastr'
const { UserModel, TodoModel, TodoCollection } = require('UserModel')
const ACTIONS = {
fetchTodoCollection: function(queryObj){
},
createNewTodo: function(newPostData){
},
}
export default ACTIONS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment