MCPcopy Create free account
hub / github.com/TruthHun/BookStack / triggerHanders

Function triggerHanders

static/webuploader/webuploader.withoutimage.js:523–539  ·  view source on GitHub ↗
( events, args )

Source from the content-addressed store, hash-verified

521 }
522
523 function triggerHanders( events, args ) {
524 var stoped = false,
525 i = -1,
526 len = events.length,
527 handler;
528
529 while ( ++i < len ) {
530 handler = events[ i ];
531
532 if ( handler.cb.apply( handler.ctx2, args ) === false ) {
533 stoped = true;
534 break;
535 }
536 }
537
538 return !stoped;
539 }
540
541 protos = {
542

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected