if we can use common js or requir js in a certain situation, what is the best way to use in titanium appcelerator?
TItanium Mobile uses the CommonJS style modules. You just simply
require('yourfile') without the .js extension and it'll return whatever your module has exported. There is no need to use require.js in a Titanium Mobile application.
Think you can help? Login to answer this question!