phpldapadmin/application/media/js/dojo-release-1.7.2/dojox/NodeList/delegate.js

13 lines
322 B
JavaScript
Raw Normal View History

2012-06-19 02:07:43 +00:00
//>>built
define("dojox/NodeList/delegate",["dojo/_base/lang","dojo/query","dojo/_base/NodeList","dojo/NodeList-traverse"],function(_1,_2,_3){
_1.extend(_3,{delegate:function(_4,_5,fn){
return this.connect(_5,function(_6){
var _7=_2(_6.target).closest(_4,this);
if(_7.length){
fn.call(_7[0],_6);
}
});
}});
return _3;
});