Sha256: 78b9f4d5408a412fbd1d081c514ec859792441cdbca6ec82a939c688ef759a04

Contents?: true

Size: 932 Bytes

Versions: 24

Compression:

Stored size: 932 Bytes

Contents

I"˜(function() {
  $(function() {
    return $("[data-select-columns]").each(function() {
      return $(this).on('change', function() {
        var headers, not_selected, selected, table, table_selector;
        table_selector = $(this).data('select-columns-target');
        table = $(table_selector);
        headers = $(table_selector + " th");
        selected = $(this).find(":selected");
        not_selected = $(this).find(":not(:selected)");
        console.log(headers);
        console.log(selected);
        console.log(not_selected);
        return selected.each(function() {
          var column_index, header_row, th_id;
          th_id = $(this).attr('value');
          header_row = $(table_selector + " tbody tr:first");
          console.log(header_row);
          column_index = $(header_row).index(th_id);
          return console.log(column_index);
        });
      });
    });
  });

}).call(this);
:ET

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
itsf_backend-5.0.0.pre spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.2.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.2.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.2.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-4.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.7 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.6 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.5 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-3.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-2.2.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-2.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache
itsf_backend-2.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/4UHUJjHoKpbQlFAVgNqNqq7jykehCCBiypRseHMbZEc.cache