Module: IncludeHelper
- Defined in:
- app/helpers/include_helper.rb
Instance Method Summary collapse
- #include_jquery ⇒ Object
- #include_jqueryhighcharts ⇒ Object
- #include_jqueryrails ⇒ Object
- #include_jquerytools ⇒ Object
- #include_jqueryui ⇒ Object
Instance Method Details
#include_jquery ⇒ Object
6 7 8 |
# File 'app/helpers/include_helper.rb', line 6 def include_jquery content_tag(:script, "", :type => 'text/javascript', :src => '/components/jquery/jquery-1.4.2.min.js') end |
#include_jqueryhighcharts ⇒ Object
2 3 4 |
# File 'app/helpers/include_helper.rb', line 2 def include_jqueryhighcharts content_tag(:script, "", :type => 'text/javascript', :src => '/components/jqueryhighcharts/js/highcharts.js') end |
#include_jqueryrails ⇒ Object
14 15 16 |
# File 'app/helpers/include_helper.rb', line 14 def include_jqueryrails content_tag(:script, "", :type => 'text/javascript', :src => '/components/jqueryrails/rails.js') end |
#include_jquerytools ⇒ Object
10 11 12 |
# File 'app/helpers/include_helper.rb', line 10 def include_jquerytools content_tag(:script, "", :type => "text/javascript", :src => "/components/jquerytools/jquery.tools.min.js") end |
#include_jqueryui ⇒ Object
18 19 20 21 22 |
# File 'app/helpers/include_helper.rb', line 18 def include_jqueryui output = tag(:link, :type => 'text/css', :media => 'screen', :rel => 'stylesheet', :href => '/components/jqueryui/css/smoothness/jquery-ui-1.8.2.custom.css') output << "\n" output << content_tag(:script, "", :type => 'text/javascript', :src => '/components/jqueryui/js/jquery-ui-1.8.2.custom.min.js') end |