Last active
December 26, 2015 14:30
-
-
Save ScarHelsing/48cf9aeefcde7f52ea1b to your computer and use it in GitHub Desktop.
Listen events module
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 module = (function(){ | |
var init = function(){ | |
// what should happen immediately | |
_setUpListeners(); | |
}; | |
var _setUpListeners = function(){ | |
// listen events | |
}; | |
return { | |
init : init | |
}; | |
})(); | |
module.init(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment