The code here seems to be a clean solution to workaround the problem -
but there's still the problem that we'd have to change each library's
init code.
http://stackoverflow.com/questions/18970350/using-jquery-load-with-requirejs
I hit the following problem on 5.4 which makes me some headache
Hi,
I hit the following problem on 5.4 which makes me some headaches:
Tapestry loads all modules/scripts using require.js. That causes all the
stuff be loaded after the window.onload event was fired. But many libs
initialize themself onload. For example have a look on
bootstrap/scrollspy.js d
It is because that is only a intermediate presentation of the page's
content:
- it is read from filesystem by whatever encoding is configured
- it is pre-processed and written internally as UTF-8 (hard-coded) into
a byte array or such
- it is read again internally as System encoding (not hardcod