Created
September 8, 2014 23:53
-
-
Save kalebpederson/f68062009b8a182e19e1 to your computer and use it in GitHub Desktop.
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
define(['dep'], function(dep) { | |
function aFunc() { | |
// do something with dep as captured in closure | |
} | |
return { | |
myFunc: aFunc | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like to clean it up like this:
But it doesn't really matter lol