- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
remove : function (elem, type, handler) {
var pureType = type.split(".")[0];
var fnName = type.split(".")[1] || "";
var events = elem['$handlers' + pureType] || [];
for (var i = 0; i < events.length; i++) {
if (events[i] == handler ) && (events[i] = $Event.nop;
if (!handler && fnName.length == 0) events[i] = $Event.nop;
if (events[i].id == fnName) events[i] = $Event.nop;
}
},
nop : function () {},
DiphenylOxalate 08.03.2017 19:14 # 0
в 6 строчке && ( лишнее