The easiest way is to roll your own:
Titanium.include() doesn't seem to be documented.
Is that just an oversight, or is it being removed/deprecated? Alternatively, is it a new method?
TypeError: Result of expression 'Titanium.include' [undefined] is not a function.
I'm using haml to generate my static html used by the application.
Apart from typing less html - haml gives me the ability to use ruby and include all JS files in the resources dir like this:
rejectmight depend on your project obviously)