cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: Add Cordova-failed-to-initialize logic right into cordova.js
Date Mon, 15 Apr 2013 20:56:22 GMT
+1


On Mon, Apr 15, 2013 at 12:49 PM, Andrew Grieve <agrieve@chromium.org>wrote:

> 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