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