File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
lib/generators/bootstrap/install/templates Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ source "http://rubygems.org"
33# Specify your gem's dependencies in twitter-bootstrap-rails.gemspec
44gemspec
55gem 'less-rails' , :path => ENV [ 'LESS_RAILS_SOURCE' ] if ENV [ 'LESS_RAILS_SOURCE' ]
6+ gem 'activesupport' , '< 4.0.0' if RUBY_VERSION < '1.9.3'
67
78group :test do
89 gem 'minitest'
Original file line number Diff line number Diff line change @@ -262,9 +262,8 @@ to /app/assets/javascripts/ folder.
262262
263263``` coffee
264264jQuery ->
265- $ (" a[rel=popover]" ).popover ()
266- $ (" .tooltip" ).tooltip ()
267- $ (" a[rel=tooltip]" ).tooltip ()
265+ $ (" a[rel~=popover], .has-popover" ).popover ()
266+ $ (" a[rel~=tooltip], .has-tooltip" ).tooltip ()
268267```
269268
270269## Using Helpers
Original file line number Diff line number Diff line change 11jQuery ->
2- $ (" a[rel=popover]" ).popover ()
3- $ (" .tooltip" ).tooltip ()
4- $ (" a[rel=tooltip]" ).tooltip ()
2+ $ (" a[rel~=popover], .has-popover" ).popover ()
3+ $ (" a[rel~=tooltip], .has-tooltip" ).tooltip ()
Original file line number Diff line number Diff line change 11jQuery ( function ( ) {
2- $ ( "a[rel=popover]" ) . popover ( ) ;
3- $ ( ".tooltip" ) . tooltip ( ) ;
4- $ ( "a[rel=tooltip]" ) . tooltip ( ) ;
2+ $ ( "a[rel~=popover], .has-popover" ) . popover ( ) ;
3+ $ ( "a[rel~=tooltip], .has-tooltip" ) . tooltip ( ) ;
54} ) ;
You can’t perform that action at this time.
0 commit comments