Giter VIP home page Giter VIP logo

bootbox's Introduction

Bootbox - Bootstrap powered alert, confirm and flexible dialog boxes

Please see http://bootboxjs.com for full usage instructions, or head over to http://paynedigital.com/bootbox for the original writeup about the project.

Contact

The easiest thing is to find me on twitter @makeusabrew.

Contributing

Please see the CONTRIBUTING file for guidelines.

Running Tests Build Status

Tests are run using Karma 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 being installed and in your path - if it is not, you may run the tests and capture browsers manually by running karma start from the root of the project.

The project is also hosted on Travis CI - when submitting pull requests please ensure your tests pass as failing requests will be rejected. See the CONTRIBUTING file for more information.

Building a minified release

The repository no longer contains a minified bootbox.min.js file - this is now only generated for releases. To build your own minified copy for 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 dependencies

Bootbox 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.

Roadmap

The latest major release of Bootbox - 4.0.0 - involved a total rewrite of the internal code and introduced an entirely new public API. It has not re-implemented some functionality from the 3.x series as of yet; this will be addressed in the coming weeks in the form of new minor releases; a task list for 4.3.0 is available - 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.3.0

  • Add size option (large, small)
  • Stop propagation on form submit
  • Return bootbox object from hideAll
  • Add Portuguese locale
  • Add Czech locale
  • Add Greek locale
  • Add Estonian locale
  • Add Indonesian locale
  • Add Japanese locale

For a full list of releases and changes please see the changelog.

License

(The MIT License)

Copyright (C) 2011-2015 by Nick Payne [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 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 IN THE SOFTWARE

bootbox's People

Contributors

arastu avatar bambuca avatar beregond avatar bogatykh avatar chenalon avatar ciaranj avatar deerawan avatar falk avatar ianleckey avatar joshnesbitt avatar jpadvo avatar k-nut avatar karacaenes avatar makeusabrew avatar matrei avatar maurofran avatar mithgol avatar ms183 avatar neugon avatar nlalonde avatar nmenglund avatar norkunas avatar omikronixz avatar peterbraden avatar sagikazarmark avatar smeggingsmegger avatar sroze avatar stevepotter avatar tarlepp avatar thibaudd avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.