PDA

View Full Version : ext-base.js unminified



iliakan
17 Aug 2007, 11:41 AM
How to get uncompressed adapter/ext-base.js ?

I see ext-all-debug, but no ext-base-debug.

xsbr
17 Aug 2007, 4:54 PM
Do you wanna the uncompressed ext-base.js ?

All the source unminified is into:

ext-1.1/source/adapter/ext-base.js
ext-1.1/source/core/Ext.js

iliakan
17 Aug 2007, 10:20 PM
When I change reference to
ext/adapter/ext/ext-base.js
into
source/core/Ext.js, source/adapter/ext-base.js
my tree stops working. There is no error... I'm not sure why, but seems it's not quite same.

evant
17 Aug 2007, 11:22 PM
Because they aren't the same thing.

iliakan
18 Aug 2007, 3:52 AM
How to include same thing as adapter/ext-base.js, but uncompressed ?

Multiple includes will do of course..

evant
18 Aug 2007, 3:54 AM
http://extjs.com/learn/Ext_FAQ#What_is_the_proper_include_order_for_my_JavaScript_files.3F

Teflon
19 Dec 2007, 8:22 AM
Sorry to bump an old thread but I was looking for the answer to this same question and didnt find it in the forums. Then I managed to figure it out, so I thought it would be nice to post the answer here in case anyone else searches for it in the future.

I managed to figure this out by looking at the Ext build file (ext.jsb). It contains the following lines which tell jsbuilder to combine&minify source/core/Ext.js and source/adapter/ext-base.js into adapter/ext/ext-base.js. So including source/core/Ext.js and source/adapter/ext-base.js into your page will give you the unminified version of adapter/ext/ext-base.js



<target name="Ext Base" file="$output\adapter\ext\ext-base.js" debug="False" shorthand="False" shorthand-list="YAHOO.util.Dom.setStyle&#xD;&#xA;YAHOO.util.Dom.getStyle&#xD;&#xA;YAHOO.util.Dom.getRegion&#xD;&#xA;YAHOO.util.Dom.getViewportHeight&#xD;&#xA;YAHOO.util.Dom.getViewportWidth&#xD;&#xA;YAHOO.util.Dom.get&#xD;&#xA;YAHOO.util.Dom.getXY&#xD;&#xA;YAHOO.util.Dom.setXY&#xD;&#xA;YAHOO.util.CustomEvent&#xD;&#xA;YAHOO.util.Event.addListener&#xD;&#xA;YAHOO.util.Event.getEvent&#xD;&#xA;YAHOO.util.Event.getTarget&#xD;&#xA;YAHOO.util.Event.preventDefault&#xD;&#xA;YAHOO.util.Event.stopEvent&#xD;&#xA;YAHOO.util.Event.stopPropagation&#xD;&#xA;YAHOO.util.Event.stopEvent&#xD;&#xA;YAHOO.util.Anim&#xD;&#xA;YAHOO.util.Motion&#xD;&#xA;YAHOO.util.Connect.asyncRequest&#xD;&#xA;YAHOO.util.Connect.setForm&#xD;&#xA;YAHOO.util.Dom&#xD;&#xA;YAHOO.util.Event">
<include name="core\Ext.js" />
<include name="adapter\ext-base.js" />
</target>