PDA

View Full Version : ext-base-debug.js



vtswingkid
21 Jan 2008, 8:48 AM
I would like a debug version of ext-base.js.
This would be more friendly in firebug!

vivid-planet
21 Jan 2008, 9:01 AM
just use src/adapter/ext-base.js

vtswingkid
21 Jan 2008, 9:35 AM
dolt...thanks

aconran
21 Jan 2008, 10:04 AM
Remember that the packaged ext-base.js is a combination of src/core/Ext.js and src/adapter/ext-base.js.

If you try to use this as a debugging tool remember to include both of these files!

dayext
8 Jul 2008, 10:52 AM
Hi,

Having a debuggable version of ext-base.js would be very helpful. However after removing the compiled version of ext-base.js and adding src/core/Ext.js and src/adapter/ext-base.js instead my application does not react to any events.

I'm using FF2. Everything is displayed properly and no errors in Firebug. However it is not possible to click buttons, resize panels or do any drag&drop operations.

Has anyone experienced something similar or any ideas what I could do to further analyse what the problem is?

mystix
9 Jul 2008, 8:41 AM
works absolutely fine for me.

check your include order:


<!-- assuming the current directory is the zip download root -->
<script src="source/core/Ext.js"></script>
<script src="source/adapter/ext-base.js"></script>
<script src="ext-all.js"></script>

dayext
11 Jul 2008, 5:40 AM
works absolutely fine for me.

check your include order:


<!-- assuming the current directory is the zip download root -->
<script src="source/core/Ext.js"></script>
<script src="source/adapter/ext-base.js"></script>
<script src="ext-all.js"></script>


I did and it is exactly like shown in your sample except that I don't use ext-all.js but a collection of source files from ExtJS.

mystix
11 Jul 2008, 6:42 AM
I did and it is exactly like shown in your sample except that I don't use ext-all.js but a collection of source files from ExtJS.
your "collection of source files" must be screwy then.

post your js include list.

p.s. have you tried building a custom ext-all.js using the Build-Your-Own tool / JSBuilder?

dayext
14 Jul 2008, 1:09 AM
your "collection of source files" must be screwy then.

post your js include list.

p.s. have you tried building a custom ext-all.js using the Build-Your-Own tool / JSBuilder?

We have an aggregated version of ExtJS sources generated with our own build script, so there is no include list in HTML. I will give JSBuilder a try.

mystix
14 Jul 2008, 1:15 AM
We have an aggregated version of ExtJS sources generated with our own build script, so there is no include list in HTML. I will give JSBuilder a try.
tip: if you peek into ext.jsb (it's an xml file), you'll be able to see the build-order for ext-all.js.

dayext
14 Jul 2008, 1:19 AM
tip: if you peek into ext.jsb (it's an xml file), you'll be able to see the build-order for ext-all.js.

yes, in fact that's exactly how we created our build order.