lib/profile.js
function createEventTransform(data) {
      return inspect(onComplete);

      function onComplete(filename) {
        isUsed = true;
        var now = Date.now();
        var events = eventsByFilename[filename] = eventsByFilename[filename] || [];
        events.push(now, data);
      }
    }
function createEventTransform(data) {
      return inspect(onComplete);

      function onComplete(filename) {
        isUsed = true;
        var now = Date.now();
        var events = eventsByFilename[filename] = eventsByFilename[filename] || [];
        events.push(now, data);
      }
    }
function createEventTransform ( data ) { return inspect ( onComplete ) ; function onComplete ( filename ) { isUsed = true ; var now = Date . now ( ) ; var events = eventsByFilename [ filename ] = eventsByFilename [ filename ] || [ ] ; events . push ( now , data ) ; } }
Create a transform that pushes time-stamped events data to the current filename.
@param {*} data The event data
@returns {function} A browserify transform that captures events on file contents complete
Create a transform that pushes time - stamped events data to the current filename .