Skip to content

Instantly share code, notes, and snippets.

@wouter-wh
Created May 20, 2015 08:16
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 wouter-wh/597b60d84703340e643a to your computer and use it in GitHub Desktop.
Save wouter-wh/597b60d84703340e643a to your computer and use it in GitHub Desktop.
Cordova app.js
var app = {
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function() {
},
};
app.initialize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment