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

    var extendedEvent = evt;

    this.extendEventHandle(evt, function (err, extEvt) {
      if (err) {
        debug(err);
      }

      extendedEvent = extEvt || extendedEvent;

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

      if (!eventExtender) {
        return callback(err, 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;

    this.extendEventHandle(evt, function (err, extEvt) {
      if (err) {
        debug(err);
      }

      extendedEvent = extEvt || extendedEvent;

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

      if (!eventExtender) {
        return callback(err, 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 ; this . extendEventHandle ( evt , function ( err , extEvt ) { if ( err ) { debug ( err ) ; } extendedEvent = extEvt || extendedEvent ; var eventExtender = self . tree . getEventExtender ( self . eventDispatcher . getTargetInformation ( evt ) ) ; if ( ! eventExtender ) { return callback ( err , extendedEvent ) ; } eventExtender . extend ( extendedEvent , function ( err , extEvt ) { if ( err ) { debug ( err ) ; } extendedEvent = extEvt || extendedEvent ; callback ( err , extendedEvent ) ; } ) ; } ) ; }
Call this function to 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, extendedEvent){}`
Call this function to extend the passed event .