123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- define("dojo/_base/NodeList", ["./kernel", "../query", "./array", "./html", "../NodeList-dom"], function(dojo, query, array){
-
-
-
-
-
- var NodeList = query.NodeList;
-
- var nlp = NodeList.prototype;
-
- nlp.connect = NodeList._adaptAsForEach(function(){
- return dojo.connect.apply(this, arguments);
- });
- nlp.coords = NodeList._adaptAsMap(dojo.coords);
- NodeList.events = [
-
-
- "blur", "focus", "change", "click", "error", "keydown", "keypress",
- "keyup", "load", "mousedown", "mouseenter", "mouseleave", "mousemove",
- "mouseout", "mouseover", "mouseup", "submit"
- ];
-
-
- array.forEach(NodeList.events, function(evt){
- var _oe = "on" + evt;
- nlp[_oe] = function(a, b){
- return this.connect(_oe, a, b);
- };
-
-
- }
- );
- dojo.NodeList = NodeList;
- return dojo.NodeList;
- });
|