Skip to content

Instantly share code, notes, and snippets.

@stevenpsmith
Created December 14, 2011 19:19
Show Gist options
  • Save stevenpsmith/1478036 to your computer and use it in GitHub Desktop.
Save stevenpsmith/1478036 to your computer and use it in GitHub Desktop.
exercise.initData = function(){
exercise.activities = new exercise.Activities();
exercise.activities.fetch({async: false}); // use async false to have the app wait for data before rendering the list
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment