mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
awww yis
This commit is contained in:
+4
-1
@@ -16,8 +16,11 @@ export * from './plugins/toast';
|
||||
// an inconsistent plugin is often the culprit.
|
||||
declare var window;
|
||||
|
||||
let before = +new Date;
|
||||
|
||||
let didFireReady = false;
|
||||
window.addEventListener('deviceready', function() {
|
||||
document.addEventListener('deviceready', function() {
|
||||
console.log('DEVICE READY FIRED AFTER', (+new Date - before), 'ms')
|
||||
didFireReady = true;
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user