kaimallea/isMobile

Restructuring the module

softwarespot opened this issue · 3 comments

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.

Sure, please send a PR. Thanks for the other fix as well.

No worries. I will do it this evening.

See comment on PR.