
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
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/
First, put this line in your Gemfile
(for Bootstrap 3):
gem 'bootbox-rails', '~>0.4'
For Bootstrap 2 use following version:
gem 'bootbox-rails', '~>0.1.0'
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:
//= require bootbox
And you're done!
Now you able to use modals like this:
<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
$ cd spec/dummy && rake db:create
$ rspec spec/
FAQs
Unknown package
We found that bootbox-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.