Project: titanium
Issue TIMOB-9950: BlackBerry: Fix/implement relative include/require
Currently, include()'s method of doing relative files only works if all done in successive order. It does not work for windows with a url (not implemented) or if include is used in a function of a file in a subdir. Also, require() does not have any method right now. My proposal is to store the filepath in each TiObject so it can be retrieved later when needed. Also, we need to make sure that require() properly handles a "native Titanium module" by its ID (eg com.example.module).
Story points: 2