¡@

Home 

javascript Programming Glossary: classa

Is it a bad practice to use the requireJS module as a singleton?

http://stackoverflow.com/questions/9733201/is-it-a-bad-practice-to-use-the-requirejs-module-as-a-singleton

based module to act as a singleton. Please notice that classA returns an instance of type 'classA' whereas the rest of the.. Please notice that classA returns an instance of type 'classA' whereas the rest of the classes classB classC and main return.. based on the MooTools Class. The idea is to use the classA as a globally available singleton the methods are just fillers...