Skip to content

Instantly share code, notes, and snippets.

@devdays
Created December 7, 2014 19:05
Show Gist options
  • Save devdays/c693ee07c567feec9427 to your computer and use it in GitHub Desktop.
Save devdays/c693ee07c567feec9427 to your computer and use it in GitHub Desktop.
Object JavaScript - Module Pattern Using Parameters
var Module = (function($, w, undefined) {
// ...
// return {...};
}(jQuery, window));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment