commit fcaab1114523d863a812b0329f5bd9ff31172861
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2017-11-08T03:05:50Z |
| subject | Added dispatchEvent on Init |
commit fcaab1114523d863a812b0329f5bd9ff31172861
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2017-11-08T03:05:50Z
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 */