(element)
| 3285 | } |
| 3286 | |
| 3287 | function removeIfEmptyData(element) { |
| 3288 | var expandoId = element.ng339; |
| 3289 | var expandoStore = expandoId && jqCache[expandoId]; |
| 3290 | |
| 3291 | var events = expandoStore && expandoStore.events; |
| 3292 | var data = expandoStore && expandoStore.data; |
| 3293 | |
| 3294 | if ((!data || isEmptyObject(data)) && (!events || isEmptyObject(events))) { |
| 3295 | delete jqCache[expandoId]; |
| 3296 | element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it |
| 3297 | } |
| 3298 | } |
| 3299 | |
| 3300 | function jqLiteOff(element, type, fn, unsupported) { |
| 3301 | if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); |
no test coverage detected