MCPcopy Create free account
hub / github.com/sql-js/sql.js / deleteScope

Function deleteScope

documentation/javascript/application.js:10350–10360  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

10348
10349 // delete all handlers for a given scope
10350 function deleteScope(scope){
10351 var key, handlers, i;
10352
10353 for (key in _handlers) {
10354 handlers = _handlers[key];
10355 for (i = 0; i < handlers.length; ) {
10356 if (handlers[i].scope === scope) handlers.splice(i, 1);
10357 else i++;
10358 }
10359 }
10360 };
10361
10362 // cross-browser events
10363 function addEvent(object, event, method) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…