Sha256: 12d60a2eaffb5288ed7bee43ea7995f2fa284fdc08ec126bf33c03052ab159fd

Contents?: true

Size: 640 Bytes

Versions: 10

Compression:

Stored size: 640 Bytes

Contents

I"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);
:ET

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
customer_vault-1.3.2 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.3.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.3.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.3.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.3.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.3.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.2.10 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.2.10 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.2.9 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache
customer_vault-1.2.9 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VMRP8L8NUJQ7xFvPwVsz0GeFLtaP4IDFcHIGYKaF4Mc.cache