Blame | Last modification | View Log | Download | RSS feed
# Bootbox - Bootstrap powered alert, confirm and flexible dialog boxesPlease see http://bootboxjs.com for full usage instructions, or head over to http://paynedigital.com/bootbox forthe original writeup about the project.## ContactThe easiest thing is to [find me on twitter @makeusabrew](http://twitter.com/makeusabrew).## ContributingPlease see the [CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for guidelines.## Running Tests [](http://travis-ci.org/makeusabrew/bootbox)Tests are run using [Karma](http://karma-runner.github.io/0.8/index.html) using the Mocha test adapter.To run the tests yourself, simply run ```npm install``` within the project followed by ```npm test```.Please note that this will require [PhantomJS](http://phantomjs.org/) being installed and in your path - ifit is not, you may run the tests and capture browsers manually by running ```karma start``` from the rootof the project.The project is also hosted on [Travis CI](https://travis-ci.org/makeusabrew/bootbox) - when submittingpull requests **please** ensure your tests pass as failing requests will be rejected. See the[CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for more information.## Building a minified releaseThe repository no longer contains a minified bootbox.min.js file - this is now only generated[for releases](https://github.com/makeusabrew/bootbox/releases). To build your own minified copyfor use in development simply run ```npm install``` if you haven't already, followed by ```grunt uglify```.This will generate a bootbox.min.js file in your working directory.## A note on Bootstrap dependenciesBootbox **4.0.0** is the first release to support Bootstrap 3.0.0.Bootbox **3.3.0** is the *last* release to support Bootstrap 2.2.x.Much more dependency information can be found [on the Bootbox website](http://bootboxjs.com/#dependencies).### RoadmapThe latest major release of Bootbox - 4.0.0 - involved a total rewrite of theinternal code and introduced an entirely new public API. It has not re-implementedsome functionality from the 3.x series as of yet; this will be addressed in thecoming weeks in the form of new minor releases;[a task list for 4.3.0 is available](https://github.com/makeusabrew/bootbox/issues/220) -please feel free to add feedback and requests.There is no new major (e.g. 5.x) release on the roadmap at present.## Latest Release: 4.2.0* Add Swedish locale* Add Latvian locale* Add Turkish locale* Add Hebrew locale* Add password input type* Add textarea input type* Add date input type* Add time input type* Add number input type* Support DOM selectors for container argument* UMD support* Better support on mobile devicesFor a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md).## License(The MIT License)Copyright (C) 2011-2014 by Nick Payne <nick@kurai.co.uk>Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE