Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A global namespace example for CommonJS
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
Resources
.gitignore
.project
CHANGELOG.txt
LICENSE
LICENSE.txt
README
manifest
tiapp.xml

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

Something went wrong with that request. Please try again.