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

Version Path
susanoo-0.14.0 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.13.2 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.13.1 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.13.0 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.12.3 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.12.2 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.12.1 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.12.0 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.11.1 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.10.0 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.8.0 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.7.4 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.7.2 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.7.1 lib/susanoo/templates/application/src/assets/javascripts/main.js
susanoo-0.7.0 lib/susanoo/templates/application/src/assets/javascripts/main.js