August 5, 2014 at 12:48 am #177669
Thanks very much for the reply.
I’ve added a working codepen:
How would i use the module pattern above using the jquery document ready in my example? and would I need to pass all my vars into the module too?