java - Javascript placement in GWT HTML -
what difference of placing javascript (.js) library on before gwt application nocache.js
, after nocache.js
in gwt application uses js library in jsni methods.
does affect wether jsni method functional or not?
normal <script>
tag blocking, gwt script tag not, since fetched asynchronously (i.e., non-blocking). onmoduleload()
called when body has been parsed (i.e., scripts have been fetched). hence:
- put first script in list: save time;
<script>
tags loaded whenonmoduleload()
called.
have @ here.
Comments
Post a Comment