Ticket #10032 (closed bug: invalid)
$.getScript fails to load ext.js framework
|Reported by:||thomas@…||Owned by:|
Ladies & Gentlemen,
For some reason (I haven´t quite figured out why) if I load the ext.js framework with $.getScript as well as require.js, it fails to function (the framework itself contains a js loader and is probaply not designed to be loaded asynchronously).
However, when I use JSL it does work.
Attached the coffee-script loading part of my app:
# Ext.Js framework works perfectly :) jsl.load "/js/ext/ext-all-debug.js", ->
jsl.load "/js/extensible/extensible-all.js", ->
# Ext.Js framework doesn´t work :( $.getScript "/js/ext/ext-all-debug.js", ->
$.getScript "/js/extensible/extensible-all.js", ->
I use it as part of a jQuery widget that on create should load the Ext.JS Framwork. I could not figure out why that was, one thing I could figure out is that Ext.onReady fails to fire when loaded via $.getScript.
I hope that information helps. I´m sorry to not have figured out why it doesn´t work.
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from new to closed
- Component changed from unfiled to misc
- Milestone changed from None to 1.6.3