I am an ajaxian beginner. My questions after reading API below:
1. Should I include this line before using dojox.off.goOffline.
    dojo.require("dojox.off._common");
2. I do not understand the Usage part, any anybody explain in more
details? Does it mean that:
  anytime when initializing with
                   var foo=new dojox.off.goOffline(); (hide source)
  Then, both properties: this.goingOnline,this.isOnline would become
false;
??  Looks not that simple. How to make it work in a real case? Any
detail code with explain?

http://api.dojotoolkit.org/jsdoc/dojox/1.2/dojox.off.goOffline
-----in Dojo API reference--

dojox.off.goOffline
dojo.require("dojox.off._common");
defined in dojox/off/_common.js
void For advanced usage; most developers can ignore this. Manually
goes offline, away from the network.
-----------Usage------------
var foo=new dojox.off.goOffline(); (hide source)

if((dojox.off.sync.isSyncing)||(this.goingOnline)){ return; }


this.goingOnline = false;
this.isOnline = false;

Reply via email to