MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / removeHandler

Function removeHandler

lib/test/angular/1.5.0/angular.js:2905–2914  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

2903 } else {
2904
2905 var removeHandler = function(type) {
2906 var listenerFns = events[type];
2907 if (isDefined(fn)) {
2908 arrayRemove(listenerFns || [], fn);
2909 }
2910 if (!(isDefined(fn) && listenerFns && listenerFns.length > 0)) {
2911 removeEventListenerFn(element, type, handle);
2912 delete events[type];
2913 }
2914 };
2915
2916 forEach(type.split(' '), function(type) {
2917 removeHandler(type);

Callers 1

jqLiteOffFunction · 0.70

Calls 3

isDefinedFunction · 0.70
arrayRemoveFunction · 0.70
removeEventListenerFnFunction · 0.70

Tested by

no test coverage detected