Created
July 15, 2015 14:24
-
-
Save xphong/18480ffe238ba7e60476 to your computer and use it in GitHub Desktop.
Simple module pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moduleName = (function($, window, document) { | |
'use strict'; | |
var moduleName = { | |
init: { | |
} | |
}; | |
return moduleName; | |
}(jQuery, window, document)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment