MCPcopy Create free account
hub / github.com/amasad/debug_utils / $duvr

Function $duvr

du.js:148–158  ·  view source on GitHub ↗

* Removes previously set `event` handler by `$duv` or `$duvl` from `object`. * * @param {object} object * @param {string} event * @public

(object, event)

Source from the content-addressed store, hash-verified

146 */
147
148function $duvr(object, event) {
149 var item = spliceOutItem(listeners, object);
150 if (!item) return false;
151 applyOne(
152 object,
153 removeListenerMethods,
154 [event, item.handler],
155 dontKnowHowToListenMsg
156 );
157 return true;
158}
159
160/**
161 *

Callers

nothing calls this directly

Calls 2

spliceOutItemFunction · 0.85
applyOneFunction · 0.85

Tested by

no test coverage detected