-
17 Jun 2011 9:39 AM #1
[SDKTOOLS-7] You cannot have Ext.Loader and Ext.require in different script blocks
[SDKTOOLS-7] You cannot have Ext.Loader and Ext.require in different script blocks
I am using the http:// path to my app since apache is routing my static files (i'm not referencing actual directory structres), but i keep getting loader errors on my custom stores/models/etc.. This problem does not occur in the browser, since I set the loading paths, but it seems that the SDK cannot use those loading paths.
Any thoughts?
-
17 Jun 2011 10:01 AM #2
UPDATE:
So i had my loader require paths, and my actual Ext.require in two separate script blocks and moving them together into one seemed to fix this issue. Maybe it should be logged as a bug, i'm not sure.
Ex. --Broken
Ex. --FixedCode:<script type=....> Ext.Loader.setConfig({...}); </script> <script type=.....> Ext.require([...]); </script>
Code:<script type=....> Ext.Loader.setConfig({...}); Ext.require([...]); </script>
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote