Sha256: 6617bd3cfb49a3edea90e4316d75ca4ca23420e51556d99b55d3d482269badac

Contents?: true

Size: 2 KB

Versions: 24

Compression:

Stored size: 2 KB

Contents

{:uriI"file:///home/vagrant/rails/itsf/itsf_backend/app/assets/javascripts/itsf/backend/application/select-columns.coffee?type=application/javascript&pipeline=self&id=093fc6e327985591e863857f2da7707b5cb5e0fa1c5b467b95eea151767fe0e4:ET:load_pathI"A/home/vagrant/rails/itsf/itsf_backend/app/assets/javascripts;T:
filenameI"p/home/vagrant/rails/itsf/itsf_backend/app/assets/javascripts/itsf/backend/application/select-columns.coffee;T:	nameI",itsf/backend/application/select-columns;T:logical_pathI"4itsf/backend/application/select-columns.self.js;T:content_typeI"application/javascript;T:sourceI"#(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, th_id;
          th_id = $(this).attr('value');
          column_index = table.index(th_id);
          return console.log(column_index);
        });
      });
    });
  });

}).call(this);
;T:
metadata{:dependencieso:Set:
@hash{
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"~file-digest:///home/vagrant/rails/itsf/itsf_backend/app/assets/javascripts/itsf/backend/application/select-columns.coffee;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%I[3A"Wwkڼ
J4қ@:lengthi#:dependencies_digest"%:d4:b_#`q*unW? "Ys:idI"E093fc6e327985591e863857f2da7707b5cb5e0fa1c5b467b95eea151767fe0e4;F:
mtimel+V

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/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.2.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.2.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.2.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-4.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.7 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.6 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.5 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-3.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-2.2.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-2.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache
itsf_backend-2.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/bM9PMfSAgZzYFRICzAA04eND79tCnsXka2RpjXyfkLk.cache