1 decade ago by BrownHorse
I want to create a module that has an array that I can access from other modules.
How do I structure the module and how do I access the array from another module? I'm a javascript noob.
ig.module( 'game.module-name' ) .defines(function(){ words: ['blah', 'blah', 'blah']; });
How do I structure the module and how do I access the array from another module? I'm a javascript noob.