lib/modules/apostrophe-assets/public/js/always.js
function(eventName, fn) {
    apos.handlers[eventName] = (apos.handlers[eventName] || []).concat([ fn ]);
  }
function(eventName, fn) {
    apos.handlers[eventName] = (apos.handlers[eventName] || []).concat([ fn ]);
  }
function ( eventName , fn ) { apos . handlers [ eventName ] = ( apos . handlers [ eventName ] || [ ] ) . concat ( [ fn ] ) ; }
Install an Apostrophe event handler. The handler will be called when apos.emit is invoked with the same eventName. The handler will receive any additional arguments passed to apos.emit.
Install an Apostrophe event handler . The handler will be called when apos . emit is invoked with the same eventName . The handler will receive any additional arguments passed to apos . emit .