#4683 closed bug (worksforme)
Callback for getScript is called too early in Safari and Opera
Reported by: | inez | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | getScript callback | Cc: | |
Blocked by: | Blocking: |
Description
var myCallback = function() { ... } $.getScript(myLib, myCallback);
In Safari and Opera myCallback is called too early, before myLib script is downloaded and initialized. Note that this problem may not occur if your network latency is very low or you have myLib in browser cache.
Patch is attached.
Attachments (1)
Change History (3)
Changed 14 years ago by
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
I guess this is an issue related to script performance. We can have fixes such as your patch or looping a timeout... But if the computer processing is slow, it is most probably that it will happen. (I mean, if you have an i7 probably won't suffer this)
Note: See
TracTickets for help on using
tickets.
This is currently working fine for me with jQuery 1.4.2 and jQuery 1.4.3.