Sha256: 107ab4a69e0be3c1c47f04cd961121e6a7da70e02d97938a1bc2ad5946deb66d

Contents?: true

Size: 630 Bytes

Versions: 6

Compression:

Stored size: 630 Bytes

Contents

I"j(function() {
  window.setupDatepickers = function() {
    return $("input[type*=date], input[name*=date], input[name$=_at]").map(function() {
      if (this.type === "hidden") {
        return;
      }
      this.type = "text";
      if (this.value.match("-")) {
        this.value = this.value.split("-").reverse().join("/");
      }
      return $(this).datepicker({
        language: "fr",
        format: "dd/mm/yyyy",
        todayBtn: "linked",
        autoclose: true
      });
    });
  };

  $(document).on("ready turbolinks:load page:load", function() {
    return setupDatepickers();
  });

}).call(this);
:ET

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dorsale-3.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache
dorsale-3.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache
dorsale-3.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache
dorsale-3.0.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache
dorsale-3.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache
dorsale-3.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V38BeNBlMWIvVHdLKzQuO04dvHsvSVa-hnwsXTtmNio.cache