forked from Botanical/BotanJS
Migrate old externs 2/x
This commit is contained in:
@@ -26,6 +26,7 @@ var __const = __static_method;
|
||||
/* End Shorthand Functions }}}*/
|
||||
|
||||
/*{{{ BotanEvent & EventDispatcher */
|
||||
/** @constructor */
|
||||
/** @this {BotanEvent} */
|
||||
var BotanEvent = function( name, data )
|
||||
{
|
||||
@@ -65,10 +66,11 @@ var BotanEvent = function( name, data )
|
||||
}.bind( this );
|
||||
};
|
||||
|
||||
/** @constructor
|
||||
* @implements {EventTarget}
|
||||
**/
|
||||
var EventDispatcher = function() {
|
||||
|
||||
/** type {typeof EventDispatcher} */
|
||||
var EventDispatcher;
|
||||
|
||||
EventDispatcher = function() {
|
||||
var events = {};
|
||||
var _self = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user