[Dojo-checkins] alex - r3567 - trunk/src
dojo-checkins-admin at dojotoolkit.org
dojo-checkins-admin at dojotoolkit.org
Sun Apr 16 05:13:10 MDT 2006
Author: alex
Date: Sun Apr 16 05:13:09 2006
New Revision: 3567
Modified:
trunk/src/event.js
Log:
connectOnce()
Modified: trunk/src/event.js
==============================================================================
--- trunk/src/event.js (original)
+++ trunk/src/event.js Sun Apr 16 05:13:09 2006
@@ -214,6 +214,12 @@
return this.connect.apply(this, args);
}
+ this.connectOnce = function(){
+ var ao = interpolateArgs(arguments);
+ ao.once = true;
+ return this.connect(ao);
+ }
+
this._kwConnectImpl = function(kwArgs, disconnect){
var fn = (disconnect) ? "disconnect" : "connect";
if(typeof kwArgs["srcFunc"] == "function"){
More information about the Dojo-checkins
mailing list