code: function (name, data) {
              if (name in events) {
                  events[name].forEach(function (cb) {
                      cb(data);
                  });
              }
              if (name in singles) {
                  singles[name].forEach(function (cb) {
                      cb(data);
                  });
                  singles[name] = [];
              }
              // Cache that this event has fired.
              triggerCache[name] = data;
          }
docs: ## handler.trigger(name, [data])
  Immediately trigger an event.
  @param {string} name Event name.
  @param {*} [data] Any data you wish to provide to all
  event callbacks.