Sha256: c3d4e94b271c1619e96d41075f8b718cdad21e52f7cf3f5ffd8d764b24e532f7

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

view :raw do |args|
  # jquery.ui.all must be after jquery.mobile to override dialog weirdness *
  # jquery.ui.autocomplete must be after jquery.ui stuff 
  # FIXME removed  jquerymobile.js. Doesn't work with the new jquery version
  js_files = %w( jquery-ui.js jquery.ui.autocomplete.html.js jquery.autosize.js jquery.fileupload.js jquery.iframe-transport.js jquery_ujs.js )
  js_files.map do |filename|
    File.read "#{Cardio.gem_root}/mod/03_machines/lib/javascript/#{filename}"
  end.join("\n")
end

view :editor do |args|
  "Content is stored in file and can't be edited."
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
card-1.15.pre2 mod/03_machines/set/self/script_jquery_helper.rb
card-1.15.pre mod/03_machines/set/self/script_jquery_helper.rb