js/libs/ember-1.5.1.js
function(name) {
    var args = [], i, l;
    for (i = 1, l = arguments.length; i < l; i++) {
      args.push(arguments[i]);
    }
    Ember.sendEvent(this, name, args);
  }
function(name) {
    var args = [], i, l;
    for (i = 1, l = arguments.length; i < l; i++) {
      args.push(arguments[i]);
    }
    Ember.sendEvent(this, name, args);
  }
Triggers a named event for the object. Any additional arguments
will be passed as parameters to the functions that are subscribed to the
event.

```javascript
person.on('didEat', function(food) {
console.log('person ate some ' + food);
});

person.trigger('didEat', 'broccoli');

outputs: person ate some broccoli
```
@method trigger
@param {String} name The name of the event
@param {Object...} args Optional arguments to pass on