cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Add Cordova-failed-to-initialize logic right into cordova.js
Date Mon, 15 Apr 2013 19:49:51 GMT
We have this in many of our tests, but why not just put it right in
cordova.js?

e.g.

var timerId = null;
document.addEventListener('deviceready', function() {
  window.clearTimeout(timerId);
}, false);
timerId = window.setTimeout(function() {
  console.log('Cordova failed to initialized due to the following channels
not firing: ...');
}, 1000);

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message