Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/xsokev/Dojo-Bootstrap

An implementation of the Twitter Bootstrap framework using Dojo.
https://github.com/xsokev/Dojo-Bootstrap

Last synced: about 2 months ago
JSON representation

An implementation of the Twitter Bootstrap framework using Dojo.

Lists

README

        

[![Build Status](https://travis-ci.org/xsokev/Dojo-Bootstrap.svg?branch=master)](https://travis-ci.org/xsokev/Dojo-Bootstrap)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/.svg)](https://saucelabs.com/u/)
# Dojo-Bootstrap

An implementation of the excellent [Bootstrap](http://getbootstrap.com) framework using the [Dojo Toolkit](http://dojotoolkit.org). 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](https://github.com/dojo) 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
```




Dojo-Bootstrap





Load


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





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);
});
});



```
## Tests

See the [Tests wiki page](https://github.com/xsokev/Dojo-Bootstrap/wiki/Tests) for info on running and writing Dojo Bootstrap tests.

## Useful resources

+ [Dojo-Bootstrap Website with examples for all the modules](http://xsokev.github.io/Dojo-Bootstrap/)
+ [Dojo Reference Guide (latest release version)](http://dojotoolkit.org/reference-guide/)
+ [Dojo Reference Guide (Dojo trunk)](http://livedocs.dojotoolkit.org/)
+ [Bootstrap](http://getbootstrap.com/)

## License

Dojo Bootstrap is licensed under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)