Skip to content

Instantly share code, notes, and snippets.

@ekelokorpi
Last active May 6, 2017 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ekelokorpi/9736104 to your computer and use it in GitHub Desktop.
Save ekelokorpi/9736104 to your computer and use it in GitHub Desktop.
Core: Require module
game.module(
'game.main'
)
.require(
'game.player'
)
.body(function() {
});
@TinyBitQuantum
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment