Fixed all closure warnings

This commit is contained in:
斟酌 鵬兄 2022-08-03 00:54:40 +09:00
parent f0ab1a5d21
commit a7c8c4dc84

View File

@ -26,6 +26,7 @@ var __const = __static_method;
/* End Shorthand Functions }}}*/ /* End Shorthand Functions }}}*/
/*{{{ BotanEvent & EventDispatcher */ /*{{{ BotanEvent & EventDispatcher */
/** @this {BotanEvent} */
var BotanEvent = function( name, data ) var BotanEvent = function( name, data )
{ {
var __propagating = false; var __propagating = false;
@ -247,7 +248,6 @@ __namespace = __namespace || function( ns )
); );
}.bind({ n: ns }); }.bind({ n: ns });
/** @type {BotanEvent} */
BotanJS.dispatchEvent( new BotanEvent( "NS_INIT", ns ) ); BotanJS.dispatchEvent( new BotanEvent( "NS_INIT", ns ) );
return ( _NSs[ ns ] = nsObj ); return ( _NSs[ ns ] = nsObj );
}; };