Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    143
    Vote Rating
    0
    sg707 is on a distinguished road

      0  

    Default [CLOSED]No Bootstrap?

    [CLOSED]No Bootstrap?


    I was testing out dynamic loading but when I peeked into boostrap.js

    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>');
    
    })();
    So, I'm guessing boostrap is not ready yet?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,240
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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

Similar Threads

  1. Ext-Core to Bootstrap ExtJS
    By Daemonz80 in forum Ext: Q&A
    Replies: 2
    Last Post: 6 Apr 2010, 10:36 AM
  2. Replies: 3
    Last Post: 16 Aug 2009, 11:37 AM

Thread Participants: 1