Module: IncludeHelper

Defined in:
app/helpers/include_helper.rb

Instance Method Summary collapse

Instance Method Details

#include_jqueryObject



6
7
8
# File 'app/helpers/include_helper.rb', line 6

def include_jquery
  (:script, "", :type => 'text/javascript', :src => '/components/jquery/jquery-1.4.2.min.js')
end

#include_jqueryhighchartsObject



2
3
4
# File 'app/helpers/include_helper.rb', line 2

def include_jqueryhighcharts
  (:script, "", :type => 'text/javascript', :src => '/components/jqueryhighcharts/js/highcharts.js')
end

#include_jqueryrailsObject



14
15
16
# File 'app/helpers/include_helper.rb', line 14

def include_jqueryrails
  (:script, "", :type => 'text/javascript', :src => '/components/jqueryrails/rails.js')
end

#include_jquerytoolsObject



10
11
12
# File 'app/helpers/include_helper.rb', line 10

def include_jquerytools
  (:script, "", :type => "text/javascript", :src => "/components/jquerytools/jquery.tools.min.js")
end

#include_jqueryuiObject



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 << (:script, "", :type => 'text/javascript', :src => '/components/jqueryui/js/jquery-ui-1.8.2.custom.min.js')
end