[TIMOB-4417] Add pathing to assets for Javascript Modules
	
	
| GitHub Issue | n/a | 
| Type | New Feature | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2011-10-11T09:41:46.000+0000 | 
| Affected Version/s | Release 1.7.0, Release 1.6.2, Release 1.8.0 | 
| Fix Version/s | Sprint 2011-35 | 
| Components | iOS | 
| Labels | n/a | 
| Reporter | Alan Leard | 
| Assignee | Alan Leard | 
| Created | 2011-06-15T12:59:57.000+0000 | 
| Updated | 2013-08-29T20:15:15.000+0000 | 
Description
	Resources placed in the assets directory when building a module get placed in /modules/[ti.module]/ of the application bundle, but when building a javascript module there seems to be no way to access those resources.  A sample module with a sample app is attached for testing.  This feature may also be related to this ticket: TIMOB-4233
Attachments
| File | Date | Size | 
| testimg.zip | 2011-06-15T12:59:57.000+0000 | 146128 | 
 
Since this is a nigh-duplicate of 4233, and has deeper implications for those using modules than those using the built-in portions, it might be best to have Jeff take control of this bug.
The assets are being copied properly into the module/
In 1.8.0, the second form "var img_url = '/modules/com.testimg/user_default.png';" should be working. Reassigning to Alan for validation.