Sha256: b5db97a49f991dfe5fc246c924e1168d5008a37148685f8aeec28f5b40f83bf3

Contents?: true

Size: 587 Bytes

Versions: 9

Compression:

Stored size: 587 Bytes

Contents

//>>built
define("dojox/lang/async/event",["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.lang.async.event");
(function(){
var d=_2,_4=_3.lang.async.event;
_4.from=function(_5,_6){
return function(){
var h,_7=function(){
if(h){
d.disconnect(h);
h=null;
}
},x=new d.Deferred(_7);
h=d.connect(_5,_6,function(_8){
_7();
x.callback(_8);
});
return x;
};
};
_4.failOn=function(_9,_a){
return function(){
var h,_b=function(){
if(h){
d.disconnect(h);
h=null;
}
},x=new d.Deferred(_b);
h=d.connect(_9,_a,function(_c){
_b();
x.errback(new Error(_c));
});
return x;
};
};
})();
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/lang/async/event.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/lang/async/event.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/lang/async/event.js
dojox-rails-0.11.0 vendor/assets/javascripts/lang/async/event.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/lang/async/event.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/lang/async/event.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/lang/async/event.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/lang/async/event.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/lang/async/event.js