[TIMOB-8740] MobileWeb: require() isn't properly loading async resources
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-06-13T11:57:19.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Release 2.1.0, Sprint 2012-12 MW |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2012-04-16T11:42:23.000+0000 |
| Updated | 2017-03-04T00:01:24.000+0000 |
Description
require() fails to load async resources because if a module is loaded twice (which internally happens often), then only the first execute call is going to fire the callback. This means once a module is loaded, only the first time it's asked to be loaded does it notify the loader the resource is loaded. Other modules will never be marked as loaded.
Attachments
| File | Date | Size |
| Archive.zip | 2012-06-12T19:55:12.000+0000 | 3127709 |
Pull request: https://github.com/appcelerator/titanium_mobile/pull/2382
Closing ticket as MobileWeb is no longer supported.