Sha256: a60a531a652449ab4f2320003e31280d2e4a17311f2964e70f16ffbf6e4fae93

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"prosperity/dashboards.js;FI"
pathname;TI"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+	SI"length;Ti*I"digest;TI"%69150ceb499f2b5458d3c982183c45e0;FI"source;TI"*(function() {
  $(".link-graph").submit(function(e) {
    var $form, dashboard_id, graph_id, url, url_template;
    $form = $(e.target);
    dashboard_id = $form.find("#dashboard_id").val();
    graph_id = $form.find("#graph_id").val();
    url_template = $form.find("#url_template").val();
    url = url_template.replace("dashboard_id", dashboard_id);
    url = url.replace("graph_id", graph_id);
    if ($form.attr('action') !== url) {
      e.preventDefault();
      $form.attr('action', url);
      return $form.submit();
    }
  });

}).call(this);
;TI"dependency_digest;TI"%de18ca01a1e97990717929b898f7eb9e;FI"required_paths;T[I"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"dependency_paths;T[{I"	path;TI"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"
mtime;TI"2014-02-16T10:52:56-08:00;TI"digest;TI"%293e5d21b56edc726f64e2c3ac44ffd9;FI"
_version;TI"%2b66aa67c90052d553e0328c249bc9b0;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
prosperity-0.0.10 spec/dummy/tmp/cache/assets/test/sprockets/5e819b57a5b768cd857cd968ad919be7
prosperity-0.0.10 spec/dummy/tmp/cache/assets/test/sprockets/956ecc56779d99ab18a5f0921fcc45f5