{:uriI"file:///app/app/assets/javascripts/quby/printer.js?type=application/javascript&pipeline=self&id=fe7ccd6cceb8abc54be1b1f87e16af2de08a0b982ccdd31e69931f0cf5f28fe7:ET:load_pathI" /app/app/assets/javascripts;T: filenameI"0/app/app/assets/javascripts/quby/printer.js;T: nameI"quby/printer;T:logical_pathI"quby/printer.self.js;T:content_typeI"application/javascript;T: sourceI"(function($) { isPrinting = false var defaults = { print_container: 'x_print_container'}, settings = {} jQuery.fn.outer = function() { return $($('
').html(this.clone().removeClass(this.attr("class")).addClass("x_print_container"))).html(); } $.fn.print_area = function(options){ $.extend(settings, defaults, options); var doc = document, win = window, container = $(this), old_parent = container.parent(), origDisplay = [], NONE = 'none', body = doc.body, childNodes = body.childNodes; if (isPrinting) { // block the button while in printing mode return; } isPrinting = true; // extract print content $(body).append(container); // run before_filter if present if (settings.beforeFilter) settings.beforeFilter() // print win.print(); // allow the browser to prepare before reverting setTimeout(function() { // put back print content old_parent.prepend(container) // run after_filter if present if (settings.afterFilter){ settings.afterFilter(); } isPrinting = false; }, 1000); } })(jQuery); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI">file-digest:///app/app/assets/javascripts/quby/printer.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%&T)vۦ7"p؉c1kl/8: lengthi:dependencies_digest"%f"mQ4wE]]^Y:idI"Efe7ccd6cceb8abc54be1b1f87e16af2de08a0b982ccdd31e69931f0cf5f28fe7;F: mtimel+g,]