PDA

View Full Version : autoLoad from purely javascript file



teddyjas
17 Dec 2009, 11:14 PM
Hi,

is it possible if the autoLoad options is getting from pure js file without the js code itself being shown? instead execute that js file same way like scripts: true config.

currently the javascript must be embedded in <script></script> tags for it to be executed.
Its soooooooo pain in the ass everytime I hv to code javascript in my editor where I can't see the js code checker as the file is a mix of code....

realjax
17 Dec 2009, 11:57 PM
I don't understand you.

Animal
18 Dec 2009, 12:30 AM
Yes, I have a FR out for autoLoad to be able to load configs.

We load pure JSON in our app, no HTML at all.

This person has a solution: http://www.extjs.com/forum/showthread.php?t=80202

teddyjas
18 Dec 2009, 9:25 AM
Yes, I have a FR out for autoLoad to be able to load configs.

We load pure JSON in our app, no HTML at all.

This person has a solution: http://www.extjs.com/forum/showthread.php?t=80202

thanks animal!
I'll look into that :)