external js packages need to be loaded syncrhonously instead of async
---------------------------------------------------------------------

                 Key: TAPESTRY-1119
                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1119
             Project: Tapestry
          Issue Type: Bug
          Components: JavaScript
    Affects Versions: 4.1.1
         Environment: browser
            Reporter: Jesse Kuhnert
         Assigned To: Jesse Kuhnert
            Priority: Critical
             Fix For: 4.1.1


Andreas pointed out a flaw in the current system. When loading external js 
packages found in an ajax response we need to load them synchronously instead 
of async (the current method) because of the possibility of not having a 
package loaded that the ajax response javascript code relies on..

A better approach would be to use dojo.hostenv.loadUri if possible. The js 
package responses should still be correctly cachable this way and may actually 
ultimately lead to faster processing times. 

Should also check to see if css includes in responses are being handled equally 
well. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to