index.js 244 B

1234567
  1. document.addEventListener('deviceready', onDeviceReady, false);
  2. function onDeviceReady() {
  3. console.log('Running cordova-' + cordova.platformId + '@' + cordova.version);
  4. document.getElementById('deviceready').classList.add('ready');
  5. }