(element)
| 3239 | } |
| 3240 | |
| 3241 | function removeIfEmptyData(element) { |
| 3242 | var expandoId = element.ng339; |
| 3243 | var expandoStore = expandoId && jqCache[expandoId]; |
| 3244 | |
| 3245 | var events = expandoStore && expandoStore.events; |
| 3246 | var data = expandoStore && expandoStore.data; |
| 3247 | |
| 3248 | if ((!data || isEmptyObject(data)) && (!events || isEmptyObject(events))) { |
| 3249 | delete jqCache[expandoId]; |
| 3250 | element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it |
| 3251 | } |
| 3252 | } |
| 3253 | |
| 3254 | function jqLiteOff(element, type, fn, unsupported) { |
| 3255 | if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); |
no test coverage detected