Restructuring the module
softwarespot opened this issue · 3 comments
softwarespot commented
How about opting for the universal style of defining a module e.g.
(function isMobileModule(root, factory) {
// Define the UMD structure
})(window, (function isMobileInterface() {
// Define the module itself
}));
If you would like me to send a PR let me know.
kaimallea commented
Sure, please send a PR. Thanks for the other fix as well.
softwarespot commented
No worries. I will do it this evening.
kaimallea commented
See comment on PR.