README.md in opal-bootbox-0.1.0 vs README.md in opal-bootbox-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
## Opal Ruby wrapper of Bootbox Javascript library
The goal of this project is to wrap the Bootbox Javascript library with Opal, providing a simple Ruby interface to Bootbox functionality.
-Bootbox.js is a small JavaScript library which implements dialog (alert, prompt, confirm) boxes using Bootstrap modals.
+Bootbox.js is a small open source (MIT) JavaScript library which implements dialog (alert, prompt, confirm) boxes using Bootstrap modals.
To find out more about Bootbox, go to http://bootboxjs.com.
To find out more about Opal, go to http://opalrb.org
@@ -45,10 +45,10 @@
> You need to bring your own `bootbox.js` or `bootbox.min.js` and bootstrap files.
>> http://bootboxjs.com/download/
>> http://getbootstrap.com/getting-started/#download
> and put the files in `app/` or whichever directory you are compiling assets from.
-### Usage
+### Examples
```
$bootbox.alert('Hello world!') do
puts 'hello world acknowledged'
end