Sha256: 6b3aa9af657b0d6f47145102cb67c3a58a77d6ca8023af938780c9a856c9cead
Contents?: true
Size: 933 Bytes
Versions: 4
Compression:
Stored size: 933 Bytes
Contents
module IncludeHelper def include_jqueryhighcharts content_tag(:script, "", :type => 'text/javascript', :src => '/components/jqueryhighcharts/js/highcharts.js') end def include_jquery content_tag(:script, "", :type => 'text/javascript', :src => '/components/jquery/jquery-1.4.2.min.js') end def include_jquerytools content_tag(:script, "", :type => "text/javascript", :src => "/components/jquerytools/jquery.tools.min.js") end def include_jqueryrails content_tag(:script, "", :type => 'text/javascript', :src => '/components/jqueryrails/rails.js') end 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 end
Version data entries
4 entries across 4 versions & 1 rubygems