(element)
| 3350 | } |
| 3351 | |
| 3352 | function removeIfEmptyData(element) { |
| 3353 | var expandoId = element.ng339; |
| 3354 | var expandoStore = expandoId && jqCache[expandoId]; |
| 3355 | |
| 3356 | var events = expandoStore && expandoStore.events; |
| 3357 | var data = expandoStore && expandoStore.data; |
| 3358 | |
| 3359 | if ((!data || isEmptyObject(data)) && (!events || isEmptyObject(events))) { |
| 3360 | delete jqCache[expandoId]; |
| 3361 | element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it |
| 3362 | } |
| 3363 | } |
| 3364 | |
| 3365 | function jqLiteOff(element, type, fn, unsupported) { |
| 3366 | if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); |
no test coverage detected