PDA

View Full Version : Ext JS 3 and Sublime Text 2



HakerPL
23 Jul 2015, 3:26 AM
Hi.
I have problem with use extjs in sublime text.
I try to add any library that I can see, this way:
<script type="text/javascript" src="ext-3.4.1/ext-all.js"></script>

Every time i get error (in ext-all-debug.js) for example: "Ext.Object is undefined" , "Ext.fly is not a function" , Ext.EventManager is undefined"
and in my file "Ext.Loader is undefined".

Gary Schlosberg
23 Jul 2015, 3:41 PM
Haven't used it before, but can Sublime Text 2 see that directory?

HakerPL
24 Jul 2015, 1:30 AM
Topic can be closed. I used the tutorial from version 5 and version 3 do not have a "Ext.application" or "Ext.Loader.setConfig".

Gary Schlosberg
24 Jul 2015, 2:43 PM
That would do it. Thanks for taking the time to post a follow-up.