Sha256: d6c6eec25d75df26f06f164f37adcf8f427998c1477e10598a4bc8fbac5a2329

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 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 "#{Wagn.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

3 entries across 3 versions & 1 rubygems

Version Path
wagn-1.14.9 mod/03_machines/set/self/script_jquery_helper.rb
wagn-1.14.8 mod/03_machines/set/self/script_jquery_helper.rb
wagn-1.14.7 mod/03_machines/set/self/script_jquery_helper.rb