dennisbaskin/bootstrap-growl-rails

$.notify: Uncaught TypeError: undefined is not a function

Closed this issue · 1 comments

osxi commented

On Rails 4.0.8, I've added gem 'bootstrap-growl-rails' to my Gemfile and //= require bootstrap-growl to my application.js:

//= require jquery
//= require jquery_ujs
//= require jquery-ui/dialog
//= require jquery.autosize
//= require turbolinks
//= require twitter/bootstrap
//= require bootstrap-editable
//= require bootstrap-editable-rails
//= require select2
//= require lightbox
//= require bootstrap-datepicker
//= require bootstrap-growl
//= require_tree .

After doing a bundle, I'm getting Uncaught TypeError: undefined is not a function after trying $.notify('Testing123').

osxi commented

After looking around in bootstrap-growl.js, I saw that we're using $.growl and not $.notify.