An implementation of the Twitter Bootstrap framework using Dojo.
JavaScript HTML CSS
Latest commit b54558f Sep 16, 2016 @xsokev committed on GitHub Merge pull request #157 from diminglei/master
Master
Permalink
Failed to load latest commit information.
assets ref bs3 from test files, still need to fix some components Jan 10, 2014
tests better test Apr 14, 2015
.bowerrc Add dojo sdk via bower. Mar 30, 2015
.gitignore installed intern and converted tabs suite Jun 27, 2014
.gitmodules Update .gitmodules Dec 21, 2012
Affix.js updated version for 3.0.0-Alpha release Apr 24, 2014
Alert.js updated w/ BS3 events. fixes #96 Apr 28, 2014
Button.js Fixes #106. Added call to blur May 21, 2014
Carousel.js indicators now working. fixes #98 Apr 30, 2014
Collapse.js Fixes #107. Use correct selector for finding actives May 22, 2014
Datepicker.js More datepicker tests and event bug fix Mar 30, 2015
Dropdown.js Update Dropdown.js May 22, 2014
Gruntfile.js Bump Selenium version and faster testing Mar 30, 2015
LICENSE Initial upload of base bootstrap files Jul 17, 2012
Marquee.js updated version for 3.0.0-Alpha release Apr 24, 2014
Modal.js updated w/ BS3 events. fixes #96 Apr 28, 2014
Popover.js converted popover suite to the Intern. Jun 28, 2014
README.md Add dojo sdk via bower. Mar 30, 2015
Scrollspy.js Fixed wrong calculations within scrollspy Jun 10, 2014
Support.js fix collapse issue to work with latest dojo Sep 13, 2016
Tab.js updated w/ BS3 events. fixes #96 Apr 28, 2014
Tooltip.js fix bug with container: body Apr 14, 2015
Typeahead.js Fixes #110, #108 May 22, 2014
bootstrap.profile.js Ignore vendor libs in build profile Dec 10, 2012
bower.json Add dojo sdk via bower. Mar 30, 2015
composer.json Twitter Bootstrap => Bootstrap May 5, 2014
package.json updated to Intern 2.1 and Selenium 2.43 Dec 1, 2014

README.md

Dojo-Bootstrap

An implementation of the excellent Bootstrap framework using the Dojo Toolkit. This project replaces the Bootstrap JavaScript components with AMD-compatible Dojo modules. Tested with Dojo 1.9.3 and Bootstrap 3.1.1.

Quick Start

  • git clone git://github.com/xsokev/Dojo-Bootstrap.git
  • Add the dojo sdk to vendor/dojo by running bower install.
  • Point your browser to http://host/path/to/Dojo-bootstrap/tests/index.html

Integration

See examples in test/test_*.html

In Brief

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="utf-8">
            <title>Dojo-Bootstrap</title>
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <link rel="stylesheet" href="path/to/bootstrap/styles.css">
        </head>

        <body>
            <button type="button" id="loading-button" class="btn btn-primary" data-loading-text="Loading...">Load</button>

            <script>
                var dojoConfig = {
                    async: 1,
                    packages: [
                        { name: "bootstrap", location: "path/to/Dojo-Bootstrap" }
                    ]
                };
            </script>

            <script type="text/javascript" src="path/to/dojo/dojo/dojo.js"></script>

            <script>
                require(["bootstrap/Button", "dojo/query"], function (Button, query) {
                    query("#loading-button").on("click", function(e){
                        query(e.target).button('loading');
                        setTimeout(function(){
                            query(e.target).button('reset');
                        }, 2000);
                    });
                });
            </script>
        </body>
    </html>

Tests

See the Tests wiki page for info on running and writing Dojo Bootstrap tests.

Useful resources

License

Dojo Bootstrap is licensed under the Apache License 2.0