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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -