Skip to content

Instantly share code, notes, and snippets.

@thekarel
Created August 12, 2013 09:50
Show Gist options
  • Save thekarel/6209578 to your computer and use it in GitHub Desktop.
Save thekarel/6209578 to your computer and use it in GitHub Desktop.
Tell David.js to generate request ("run") on page load From http://olivernn.github.io/davis.js/docs/
App.prototype.settings = {
linkSelector: 'a',
formSelector: 'form',
throwErrors: true,
handleRouteNotFound: false,
generateRequestOnPageLoad: true
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment