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