commit a7c8c4dc84b46e377361ad024438b1587342cbfe
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-08-02T15:54:40Z |
| subject | Fixed all closure warnings |
commit a7c8c4dc84b46e377361ad024438b1587342cbfe
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-08-02T15:54:40Z
Fixed all closure warnings
---
botanjs/src/_this.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/botanjs/src/_this.js b/botanjs/src/_this.js
index eeade27..c368a43 100644
--- a/botanjs/src/_this.js
+++ b/botanjs/src/_this.js
@@ -26,6 +26,7 @@ var __const = __static_method;
/* End Shorthand Functions }}}*/
/*{{{ BotanEvent & EventDispatcher */
+/** @this {BotanEvent} */
var BotanEvent = function( name, data )
{
var __propagating = false;
@@ -247,7 +248,6 @@ __namespace = __namespace || function( ns )
);
}.bind({ n: ns });
- /** @type {BotanEvent} */
BotanJS.dispatchEvent( new BotanEvent( "NS_INIT", ns ) );
return ( _NSs[ ns ] = nsObj );
};