XF 2.3 Turning all javascript to non minified for debuging

tenants

Well-known member
So, other than going around every template and converting
Code:
<xf:js src="xf/admin.js" min="1" />
to
Code:
<xf:js src="xf/admin.js" />

Is there an easy way to do this? I want to debug all the core js

I want to start creating add-ons (some for my own sanity), and I want to play around with the core script in order to figure out what everything does (I've completed the 17 "new" video tutorials by Kier)

One of the things that is annoying me is in the Admin page, when you refine a search, if you drag your mouse over the text in the refine search input fields, but let go outside, the refine search overlay vanishes (I know its removing is-active is-complete from the .js-filterMenuBody


Anyway, I'm going to be checking lots of js files (I was hoping it was in the xf/admin.js but, I'm not so sure anymore)


Is here and easy way to turn all js to non min version so I can poke them

I've had a look here:

I've already set
Code:
    $config['debug'] = true; // makes no difference, I'm tying to figure out how to not use javasrcript minification
    $config['development']['enabled'] = true;
    $config['development']['defaultAddOn'] = 'Demo/Pad';
 
Nice. you super star... that should be in the dev tools document above (unless I missed it)
Cheers

Now you've given me that, found it pretty quick, it's the

const closeUnrelated
in core_handler.js

(y)
 
Last edited:
Back
Top Bottom