Skip to content

Instantly share code, notes, and snippets.

View gist:7d0bb70663d1829393a1
var _ = require('/lib/underscore');
*This is the lightweight version I use based on Kevin Whinnery's one:
* Wrapper for Titanium UI components. This wrapper provides a few pieces of critical
* functionality, currently missing from Titanium UI objects:
* - The ability to safely extend components with new members
* - Rudimentary resource management and object lifecycle handling