[ALOY-1509] Generate spec-compliant require calls
DescriptionWe now support proper require semantics for relative and absolute requires, and have deprecated the old "bare" requires that have typically been used in Titanium (that have been treated as absolute implicitly). On Titanium 6+ Alloy should generate spec-compliant require values, i.e.
Given that these new correct versions would not work on Titanium 5 and lower, we should likely only generate these requires at build time for 6+.require('controllers/whatever'); // wrong! require('/controllers/whatever'); // right, if that's the absolute path, may need to use relative
- Christopher Williams 2016-07-27 Note that this isn't required for 6.0 - old style require calls will still work fine, but should probably be deprecated.
- Feon Sua Xin Miao 2016-07-27 [~cng], are we keeping this for release 6.0.0?