Module: Localstorageshim::ViewHelpers
- Defined in:
- lib/localstorageshim-rails/view_helpers.rb
Instance Method Summary collapse
Instance Method Details
#localstorage_shim ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/localstorageshim-rails/view_helpers.rb', line 3 def localstorage_shim <<-HTML.strip.html_safe <!--[if lte IE 7]> <script src="#{asset_path 'localstorageshim'}" type="text/javascript" id="ie-localstorage-shim"></script> <![endif]--> HTML end |