lib/denormalizer.js
function (evt, callback) {
    var self = this;

    var extendedEvent = evt;

    var eventExtender = self.tree.getPreEventExtender(self.eventDispatcher.getTargetInformation(evt));

    if (!eventExtender) {
      return callback(null, extendedEvent);
    }

    eventExtender.extend(extendedEvent, function (err, extEvt) {
      if (err) {
        debug(err);
      }
      extendedEvent = extEvt || extendedEvent;
      callback(err, extendedEvent);
    });
  }
function (evt, callback) {
    var self = this;

    var extendedEvent = evt;

    var eventExtender = self.tree.getPreEventExtender(self.eventDispatcher.getTargetInformation(evt));

    if (!eventExtender) {
      return callback(null, extendedEvent);
    }

    eventExtender.extend(extendedEvent, function (err, extEvt) {
      if (err) {
        debug(err);
      }
      extendedEvent = extEvt || extendedEvent;
      callback(err, extendedEvent);
    });
  }
function ( evt , callback ) { var self = this ; var extendedEvent = evt ; var eventExtender = self . tree . getPreEventExtender ( self . eventDispatcher . getTargetInformation ( evt ) ) ; if ( ! eventExtender ) { return callback ( null , extendedEvent ) ; } eventExtender . extend ( extendedEvent , function ( err , extEvt ) { if ( err ) { debug ( err ) ; } extendedEvent = extEvt || extendedEvent ; callback ( err , extendedEvent ) ; } ) ; }
Call this function to pre extend the passed event.
@param {Object}   evt      The event object
@param {Function} callback The function that will be called when this action has finished [optional]
`function(errs, preExtendedEvent){}`
Call this function to pre extend the passed event .