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

Function triggerHanders

static/webuploader/webuploader.custom.js:834–850  ·  view source on GitHub ↗
( events, args )

Source from the content-addressed store, hash-verified

832 }
833
834 function triggerHanders( events, args ) {
835 var stoped = false,
836 i = -1,
837 len = events.length,
838 handler;
839
840 while ( ++i < len ) {
841 handler = events[ i ];
842
843 if ( handler.cb.apply( handler.ctx2, args ) === false ) {
844 stoped = true;
845 break;
846 }
847 }
848
849 return !stoped;
850 }
851
852 protos = {
853

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected