Your wrapper is asking for window.jQuery, while inside it then defines a module.
Seems to defeat the purpose, would require loading jQuery into global space, then your code, then considering it as a module only after having done most of it in less organised fashion.
Your wrapper is asking for
window.jQuery
, while inside it then defines a module.Seems to defeat the purpose, would require loading jQuery into global space, then your code, then considering it as a module only after having done most of it in less organised fashion.