class Ezframe::Jquery
Public Class Methods
convert(ht_h)
click to toggle source
# File lib/ezframe/jquery-ui.rb, line 25 def convert(ht_h) end
into_bottom_of_body()
click to toggle source
# File lib/ezframe/jquery-ui.rb, line 21 def into_bottom_of_body "" end
into_html_header()
click to toggle source
# File lib/ezframe/jquery-ui.rb, line 4 def into_html_header css_a = Config[:extra_css_list].map {|file| "<link href=\"#{file}\" rel=\"stylesheet\">\n" } js_a = Config[:extra_js_list].map {|file| "<script src=\"#{file}\"></script>\n" } css_files = Dir["./asset/css/*.css"]||[] css_a += css_files.map do |file| file.gsub!("./asset", "") "<link href=\"#{file}\" rel=\"stylesheet\">\n" end js_files = Dir["./asset/js/*.js"]||[] js_a += js_files.map do |file| file.gsub!("./asset", "") "<script src=\"#{file}\"></script>\n" end (css_a+js_a).join end