Looks like cordova-js has changed the online/offline network events to
fire on the window instead of document:

cordova-js uses cordova.fireWindowEvent:
    
https://github.com/apache/incubator-cordova-js/blob/master/lib/plugin/network.js

Old implementations used Cordova.fireDocumentEvent:
    
https://github.com/apache/incubator-cordova-android/blob/master/framework/assets/js/network.js
    
https://github.com/apache/incubator-cordova-blackberry-webworks/blob/master/javascript/network.js

Was this intentional?  I can't tell from the published version of the
spec which is correct:
    http://www.w3.org/TR/2011/WD-netinfo-api-20110607/

Reply via email to