[TIMOB-3379] Require doesn't handle relative paths.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-04-15T03:43:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-13 |
Components | iOS |
Labels | ios |
Reporter | Blain Hamon |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:43:33.000+0000 |
Updated | 2017-03-03T06:24:12.000+0000 |
Description
Similar to #3349, Require doesn't do relative pathing properly, but instead does everything relative to the root of the resources dire, despite the current path of the js executing. The issue lies around krollBridge.mm:631. This should be standardized.
This is a dupe of #3349 for all intents and purposes.
How are you planning on handling this then? Will the default be relative and if no file is found relative go to resources? i.e. standard for CommonJS is to look in a default folder (like 'modules') first, if not found, then it will go through a few other steps.
Closing issue due to time passed and irrelevance of the ticket.