From a7c8c4dc84b46e377361ad024438b1587342cbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 3 Aug 2022 00:54:40 +0900 Subject: [PATCH] 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 ); };