Sha256: e8f16d6d735099dc319965b1a681dc06ba85663f2cf7fa505f78fce74f543346

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

{I"
class:EFI"BundledAsset;FI"logical_path;FI"dorsale/forms.js;TI"
pathname;FI"{/Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.2.1/app/assets/javascripts/dorsale/forms.coffee;TI"content_type;FI"application/javascript;FI"
mtime;Fl+Ó8UI"length;FitI"digest;F"%3a7f70ff3664a9e6bd95ba214aa5a530I"source;FI"t(function() {
  $(function() {
    return $("button.reset").click(function() {
      var form;
      form = $(this).parents("form");
      form.find("option").map(function() {
        if (this.value === "") {
          return this.selected = true;
        }
      });
      form.find("input").map(function() {
        if (!this.type.match(/submit|hidden|button/)) {
          return this.value = "";
        }
      });
      form.find("textarea").val("");
      return form.find("select").map(function() {
        if (this.selectize) {
          return this.selectize.clear();
        }
      });
    });
  });

}).call(this);
;TI"required_assets_digest;F"%65d9a41a290fbe89bd10997850f7d626I"
_version;F"%64e62ddc273c2f5847f30d698ca14b67

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
flyboy-1.1.0 spec/dummy/tmp/cache/assets/development/sprockets/43c93c35d5568c906cf12d4fc952aa2a
flyboy-1.1.0 spec/dummy/tmp/cache/assets/development/sprockets/5503073e7865af9082e0bcc0a13204cd
flyboy-1.0.7 spec/dummy/tmp/cache/assets/development/sprockets/43c93c35d5568c906cf12d4fc952aa2a
flyboy-1.0.7 spec/dummy/tmp/cache/assets/development/sprockets/5503073e7865af9082e0bcc0a13204cd