View Full Version : [CLOSED]No Bootstrap?

16 Feb 2011, 12:37 PM
I was testing out dynamic loading but when I peeked into boostrap.js


var path,
i, ln,
scripts = document.getElementsByTagName('script');

for (i = 0, ln = scripts.length; i < ln; i++) {
scriptSrc = scripts[i].src;

match = scriptSrc.match(/bootstrap\.js$/);

if (match) {
path = scriptSrc.substring(0, scriptSrc.length - match[0].length);

document.write('<script type="text/javascript" src="' + path + 'ext-core-debug.js"></script>');
document.write('<script type="text/javascript" src="' + path + 'ext-all-debug.js"></script>');


So, I'm guessing boostrap is not ready yet?

16 Feb 2011, 4:01 PM
This is correct.

Basically bootstrap.js only exists for our own framework developers convenience. Feel free to use the distributed bootstrap.js or to include ext-core and ext-all yourself.

The bootstrap file that we use during SDK development sets up the Ext.Loader to work with all of the paths that we pull in our various classes from different places.

If you're looking at enabling the loader for your own development take a look at the blog post here: