Go to the source code of this file.
Function Documentation
Definition at line 327 of file RepubsubIO.js.
{
var tp = dojo.io.repubsubEvent.prototype.properties[x];
dojo.io.repubsubEvent.prototype.reversePropertiesMap[tp[0]] = tp[1];
dojo.io.repubsubEvent.prototype.forwardPropertiesMap[tp[1]] = tp[0];
}
| dojo provide |
( |
"dojo.io.RepubsubIO" |
|
) |
|
| dojo require |
( |
"dojo.event.*" |
|
) |
|
Variable Documentation
Initial value: function (evt) {
var eventObj = new dojo.io.repubsubEvent();
eventObj.initFromProperties(evt);
return eventObj;
}
Definition at line 332 of file RepubsubIO.js.
Initial value: new function () {
var rps = dojo.io.repubsub;
this.canHandle = function (kwArgs) {
if ((kwArgs["mimetype"] == "text/javascript") && (kwArgs["method"] == "repubsub")) {
return true;
}
return false;
};
this.bind = function (kwArgs) {
if (!rps.isInitialized) {
rps.init();
}
if (!rps.topics[kwArgs.url]) {
kwArgs.rpsLoad = function (evt) {
kwArgs.load("load", evt);
};
rps.subscribe(kwArgs.url, kwArgs, "rpsLoad");
}
if (kwArgs["content"]) {
var cEvt = dojo.io.repubsubEvent.initFromProperties(kwArgs.content);
rps.publish(kwArgs.url, cEvt);
}
};
dojo.io.transports.addTransport("repubsubTranport");
}
Definition at line 16 of file RepubsubIO.js.