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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -