Below is my module pattern.
var Application = (function ($, window, undefined) {
}(jQuery, window));
Is there any way i can load my other Class/Object as params?. For instance, if i have a file named Helper.js
inside Utils
directory which by again is a module pattern. Can i pass it as a argument
like below and use it in my Application class so that i can avoid usage of global variables in my class.
var Application = (function ($, window, undefined) {
}(jQuery, window, Helper));