mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
31 lines
449 B
JavaScript
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', {});
|
|
};
|