This PR fixes #1310 and #1294.
Some modules wasn't well defined to use them with a dependency loader.
I've checked all modules and these are what I found:
Drag, Slider, Sortables, OverText, HtmlTable, Mask, Scroller, Spinner, Asset.
I've also changed some modules to follow the same module definition format:
Tips, Group, IframeShim
Although this doesn't make them CommonJS compliance, it's enough to load all modules in the global scope (window).
If you are using webpack, you can include the library with this workaround without any problems now:
Fixes wrong module definitions
Also, we should really kill IframeShim. It's only a fix for IE6 I think.
Merge IvanGuardado:commonjs-fixes, Fixes wrong module definitions #1311
added via 7d29eda