-
16 Feb 2011 12:37 PM #1
[CLOSED]No Bootstrap?
[CLOSED]No Bootstrap?
I was testing out dynamic loading but when I peeked into boostrap.js
So, I'm guessing boostrap is not ready yet?Code:(function(){ var path, i, ln, scriptSrc, match, 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); break; } } 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>'); })();
-
16 Feb 2011 4:01 PM #2
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:
http://www.sencha.com/blog/countdown...-class-system/Aaron Conran
@aconran
Sencha Architect Development Team
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Ext-Core to Bootstrap ExtJS
By Daemonz80 in forum Ext: Q&AReplies: 2Last Post: 6 Apr 2010, 10:36 AM -
[CLOSED] Popup menu doesn't show after flash component closed
By Sesshomurai in forum Ext 3.x: BugsReplies: 3Last Post: 16 Aug 2009, 11:37 AM


Reply With Quote