Back to Browse

ThreeCoreSingletonV01

33 views
Nov 16, 2014
9:20

This video includes discussions or demonstrations of how to use JavaScript to: - Implement the singleton pattern - Integrate with ThreeJs, RequireJs, jQuery and Socket.io - Share variables between modules without global or namespace pollution - Use Object.defineProperty in two ways We create a module called Core which implements the Singleton pattern. It is shared between a select group of other modules. It's purpose is to allow us to share core variables without making them global to the entire program, and without polluting the global name space.

Download

0 formats

No download links available.

ThreeCoreSingletonV01 | NatokHD