code: function(event, data) {
          //  To learn how the event system functions, see the comments for Crafty._callbackMethods
          var hdl = handlers[event] || (handlers[event] = {}),
              h,
              callbacks;
          //loop over every object bound
          for (h in hdl) {
              // Check whether h needs to be processed
              if (!hdl.hasOwnProperty(h)) continue;
              callbacks = hdl[h];
              if (!callbacks || callbacks.length === 0) continue;
  
              callbacks.context._runCallbacks(event, data);
          }
      }
docs: @
  #Crafty.trigger
  @category Core, Events
  @kind Method
  
  @sign public void Crafty.trigger(String eventName, * data)
  @param eventName - Name of the event to trigger
  @param data - Arbitrary data to pass into the callback as an argument
  
  This method will trigger every single callback attached to the event name. This means
  every global event and every entity that has a callback.
  
  @see Crafty.bind