penguin/AstroJS

Javascript framework for my blog

commit a7c8c4dc84b46e377361ad024438b1587342cbfe

author斟酌 鵬兄 <tgckpg@gmail.com>
date2022-08-02T15:54:40Z
subjectFixed 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 );
 };