<commit_before># Bootbox for Rails 3.1

Still in development. Please check this out in next week.
<commit_msg>Added some explanation into readme<commit_after># bootbox-rails

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using Twitter's bootstrap framework for Rails 3.1+

Check out how to use bootbox.js at http://bootboxjs.com/

## Installation

First, put this line in your `Gemfile`:

```ruby
gem 'bootbox-rails'
```

__Don't forget to add `jquery-rails` gem into your `Gemfile`. Also you may use very handy `bootstrap-sass` gem to add full stack of Twitter Bootstrap into your app.__

Then run `bundle install` to update your application's bundle.

Now you need to edit your `app/assets/javascripts/application.js` file and add the following line:

```javascript
//= require bootbox
```

And you're done!

## Usage

Now you able to use modals like this:

``` html
<a href="#" id="link">Click me!</a>

<script>
$(function() {
  $('#link').click(function() {
    bootbox.alert("Hello world!");  
  })
})
</script>
```

Please see http://paynedigital.com/bootbox for full usage instructions, or head over to http://bootboxjs.com for a demo page
{'fraction_non_alphanumeric': 0.11794871794871795, 'fraction_numerical': 0.003418803418803419, 'mean_word_length': 4.3963133640553, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '158175', 'n_tokens_mistral': 371, 'n_tokens_neox': 349, 'n_words': 147}