I recently started at an environment where the sub module method of JS programming is used exclusively throughout the application. Coming from the wild west of advertising however, I am having a hard time wrapping my head around it. I understand the concepts, which is why it's so frustrating that the following alert never fires:

Did you call customNamespace.anotherCustomVar.init()?, was customNamespace.aDifferentCustomVar.init() called.
–
MusaJul 20 '12 at 20:53

I did not call it, specifically b/c I'm trying to mimic the established workflow. Neither does the one that works though, at least in that file. Is it a matter of hunting down where that init is called?
–
collinJul 20 '12 at 21:06

1

The alert won't fire unless you call init, so it has to be called somewhere.
–
MusaJul 20 '12 at 21:08

there's a global.js that calls all the inits - just a matter if learning this codebase I guess. Cheers!
–
collinJul 20 '12 at 21:09