Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbankier/tiglobal
A global namespace example for CommonJS
https://github.com/dbankier/tiglobal
Last synced: about 2 months ago
JSON representation
A global namespace example for CommonJS
- Host: GitHub
- URL: https://github.com/dbankier/tiglobal
- Owner: dbankier
- License: other
- Created: 2011-12-13T09:43:49.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-15T13:09:34.000Z (over 12 years ago)
- Last Synced: 2024-04-08T16:42:46.718Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.02 MB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
Disclaimer: I prefer to use a pure CommonJS architecture, but those who are migrating a large project from using a global name space and/or want to use a combined architecture here is a trick you can use.
See: http://developer.appcelerator.com/question/129343/calling-objects-in-global-scope-from-a-commonjs-module-bug#comment-106919