Skip to content

Commit

Permalink
appended stylesheet_link_tag to content rather than newline and inter…
Browse files Browse the repository at this point in the history
…polated string as this broke in my setup (rails 3.0.3 and haml front end). Have run this change under rails 2.3.8 with erb and all is well.
  • Loading branch information
buddhamagnet authored and patricksrobertson committed Feb 13, 2011
1 parent 4ea4642 commit d759cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jcarousel_fu.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module JcarouselFu
def include_jcarousel_fu(*args) def include_jcarousel_fu(*args)
content = javascript_include_tag('jquery.j_carousel/jquery.jcarousel.pack.js', content = javascript_include_tag('jquery.j_carousel/jquery.jcarousel.pack.js',
'jquery.j_carousel/load_jcarousel.min.js') 'jquery.j_carousel/load_jcarousel.min.js')
content << "\n#{stylesheet_link_tag('jquery.jcarousel.min.css')}" content << stylesheet_link_tag('jquery.jcarousel.min.css')
content << "\n#{stylesheet_link_tag('skin.min.css')}" content << stylesheet_link_tag('skin.min.css')
end end


def jcarousel_slideshow(options={}) def jcarousel_slideshow(options={})
Expand Down

0 comments on commit d759cf3

Please sign in to comment.