3 ms·
thanx for the overview. Sounds like this falls into the same groups as LABJS and ControlJS to some degree. I don't really agree that putting the script tag in
by gregory80 16y ago
thanx for the overview. Sounds like this falls into the same groups as LABJS and ControlJS to some degree.
I don't really agree that putting the script tag in the head is a simple example. The tornado web docs, talk about loading script tags last, and they cover a lot more than just where is the best place to put script tag.
http://www.tornadoweb.org/documentation http://www.tornadoweb.org/documentation
I could buy the "it's okay to write demos with script tags in the head" bit in the same why I buy it's "okay" to use document.write() examples b/c it's 'fast'. Which is to say, I don't buy either argument.
If requireJS is aiming at people who don't know any advanced JS 'hackery', why on earth would that same dev know they need "sane modularization and dependency management". They still think it's "okay" to load script tags from the HEAD.