{:uriI"Áfile:///Users/jpd800/Rails/dfm_web/app/assets/javascripts/dfm_web/dfm_web.js.coffee?type=application/javascript&pipeline=self&id=c233256b421c1cfaeb37be9182e251ed3f2c9ad08813844c737406d3b9620426:ET:load_pathI"7/Users/jpd800/Rails/dfm_web/app/assets/javascripts;T: filenameI"Q/Users/jpd800/Rails/dfm_web/app/assets/javascripts/dfm_web/dfm_web.js.coffee;T: nameI"dfm_web/dfm_web;T:logical_pathI"dfm_web/dfm_web.self.js;T:content_typeI"application/javascript;T: sourceI"¾(function() { var filter_table_rows; filter_table_rows = function(searched) { return $('.live_table > tbody > tr').show().filter(function() { var text; text = $(this).text(); return !~text.indexOf(searched); }).hide(); }; $(document).on('ready page:load', function() { if (typeof tablesorter !== "undefined") { $('.tablesorter').tablesorter({ widgets: ['zebra'] }); } $('#notice, #alert').click(function() { return $(this).slideUp('slow'); }); $(document).keyup(function(e) { if (e.keyCode === 27) { return $('#notice, #alert').slideUp('slow'); } }); $(".ajax_load").each(function() { return $(this).load($(this).data('path')); }); if (typeof datepicker !== "undefined") { $('.datepicker').datepicker({ dateFormat: "yy-mm-dd" }); } filter_table_rows($('#live_search').val()); $('#live_search').keyup(function() { return filter_table_rows($(this).val()); }); $(".auto_submit").change(function() { if (this.form.hasAttribute("data-remote")) { return $(this).submit(); } else { return this.form.submit(); } }); setTimeout((function() { return $('.autofocus').focus(); }), 0); /* NAV BAR */ if ($('#nav ul.right li').length) { $('ul.right').after('
'); } $('nav #hamburger').click(function() { return $("nav #nav .right").toggle(); }); window.onresize = function() { if (($(window).width() / parseFloat($("body").css("font-size"))) > 47.938) { $("nav #nav .right").css('display', 'inline-block'); } else { $("nav #nav .right").css('display', 'none'); } return $("table a.button").prev("input").each(function() { var el, width; el = $(this); console.log(el.next().width()); el.css('border', "1px solid red"); width = el.parent().width() - el.next().width() - 55; width = width + "px"; return el.css('width', width); }); }; return $('main').click(function() { return $("#nav li div:hover").css('display', 'none'); }); }); }).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:///Users/jpd800/Rails/dfm_web/app/assets/javascripts/dfm_web/dfm_web.js.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%;7И%ûO!#Õvv6bÊqø‘ È€Óà/¯®Ž?: lengthi¾:dependencies_digest"%Ná% .iE‡Ö²B‰ê34ÌØ+o)ÇøcmŸ(?^Àb:idI"Ec233256b421c1cfaeb37be9182e251ed3f2c9ad08813844c737406d3b9620426;F: mtimel+¯dØW