Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8740] MobileWeb: require() isn't properly loading async resources

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-13T11:57:19.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.1.0, Sprint 2012-12 MW
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-04-16T11:42:23.000+0000
Updated2017-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

FileDateSize
Archive.zip2012-06-12T19:55:12.000+00003127709

Comments

  1. Chris Barber 2012-06-12

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/2382
  2. Lee Morris 2017-03-04

    Closing ticket as MobileWeb is no longer supported.

JSON Source