Using inline requireJS to load modules - can this lead to resources getting required / downloaded / evaluated twice?

Friday, July 11, 2014

I was reading here


(see a comment to the post)


here (again see comment)


and here (poor English but I think I understand)


Well for starters, I thought requireJS is a library that makes it easy to load javascript files. That a file possibly gets loaded twice, seems to me like a weakness of the library, I certainly don't want to deal with this.


So the question: Is it really possible that requireJS loads libraries twice?


Since the answers sometimes get 66 upvotes, whereas the comment about the problems only got 1-5 upvotes, I am not sure if I have to worry about this problem at all.







http://ift.tt/1mSNOyH