plovr
plovr copied to clipboard
global PLOVR_MODULE_INFO will conflict with other libraries written with Plovr
So imagine that my friend send this super cool JS library that was done with Plovr and uses modules. He sends me the compiled js so I just have to include it in my page.
But at the same time I also have JS library done with plovr, and I like modules.
BOOOOM! Plovr uses goog.global['PLOVR_MODULE_INFO'] to store module information and it is surprisingly global. My module declaration will wipe my friend's modules and his library will never work.