code: function (event, data) {
              // (To learn how the handlers object works, see inline comment at Crafty.bind)
              var hdl = handlers[event], h, i, l;
              //loop over every object bound
              for (h in hdl) {
                  if (!hdl.hasOwnProperty(h)) continue;
  
                  //loop over every handler within object
                  for (i = 0, l = hdl[h].length; i < l; i++) {
                      if (hdl[h] && hdl[h][i]) {
                          //if an entity, call with that context
                          if (entities[h]) {
                              hdl[h][i].call(Crafty(+h), data);
                          } else { //else call with Crafty context
                              hdl[h][i].call(Crafty, data);
                          }
                      }
                  }
              }
          }
docs: @
  #Crafty.trigger
  @category Core, Events
  @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