From fcaab1114523d863a812b0329f5bd9ff31172861 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, 8 Nov 2017 11:05:50 +0800 Subject: [PATCH] Added dispatchEvent on Init --- botanjs/src/Astro/Bootstrap.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/botanjs/src/Astro/Bootstrap.js b/botanjs/src/Astro/Bootstrap.js index 983a927..d0d68d2 100644 --- a/botanjs/src/Astro/Bootstrap.js +++ b/botanjs/src/Astro/Bootstrap.js @@ -34,6 +34,8 @@ { infs[i](); } + + document.dispatchEvent( new Event( "Astro.Start" ) ); }; /*{{{ Class Catching */