Module handling seems wrong
ittayd opened this issue · comments
ittayd commented
The module wrapping checks if module.exports is defined and if so assigns to it the result of the factory function. But this function doesn't have a return value, so module.exports ends up being undefined.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
ittayd commented
Also, themes ignore any module system and use window.jQuery directly.
Kartik Visweswaran commented
Thanks. Will check when I get time. Appreciate if you can submit a PR enhancement.