Module: JqueryCdn::Helpers
- Defined in:
- lib/jquery-cdn/helpers.rb
Overview
Module to add ‘include_jquery` to Sinatra and other non-Rails apps.
Instance Method Summary collapse
-
#include_jquery(options = { }) ⇒ Object
Return <script> tags to add jQuery.
Instance Method Details
#include_jquery(options = { }) ⇒ Object
Return <script> tags to add jQuery
5 6 7 |
# File 'lib/jquery-cdn/helpers.rb', line 5 def include_jquery( = { }) JqueryCdn.include_jquery() end |