Sha256: 9e57f2ba6825e3464c3086b9093eb8fd175d9e51d7760cdab476ece91a989a87
Contents?: true
Size: 484 Bytes
Versions: 15
Compression:
Stored size: 484 Bytes
Contents
// Add an event handler on `deviceready` event which is like document ready // on normal web pages. `deviceready` event dispatch by **cordova** document.addEventListener("deviceready", onDeviceReady, false); // Device Ready event handler function onDeviceReady() { // Bootstrap and run angular application angular.bootstrap(document, ["Application"]); } $(function(){ if (window.debug === true) { console.log("Run in debug mode."); onDeviceReady(); } });
Version data entries
15 entries across 15 versions & 1 rubygems