jsdoc/test/fixtures/eventfirestag.js
2013-02-15 21:32:57 -08:00

31 lines
449 B
JavaScript

/**
* @class
*/
var Hurl = function () {
};
/**
* Throw a snowball.
*
* @fires Hurl#snowball
* @fires Hurl#event:brick
*/
Hurl.prototype.snowball = function () {
/**
* @event Hurl#snowball
*/
this.emit('snowball', {});
};
/**
* Throw a football match.
*
* @emits Hurl#footballMatch
*/
Hurl.prototype.footballMatch = function () {
/**
* @event Hurl#footballMatch
*/
this.emit('footballMatch', {});
};