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 when onmoduleload() called.

have @ here.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -