Last active
May 6, 2017 19:20
-
-
Save ekelokorpi/9736104 to your computer and use it in GitHub Desktop.
Core: Require 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
game.module( | |
'game.main' | |
) | |
.require( | |
'game.player' | |
) | |
.body(function() { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not demonstrate how to reference the required module in body.
This also does not demonstrate how to require non panda node modules. perhaps an example of how to import lodash or another common utility package?