I have a code snippet below
g = function() {
require(["game"], function(b) {
...
}
}
How would I go about exposing everything within game? I'm using RequireJS if that helps?
If I do If I do window.b= b; and try to access b.functionWithin() I get the error functionWithin not a function
Thanks