{:uriI"¥file:///Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js?type=application/javascript&id=38c74fe00fb1caa221005c68e8bff12a26601dec37f11ce8f4291c354186a5cc:ET:load_pathI"3/Users/marten/rgoc/quby/app/assets/javascripts;T: filenameI"C/Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js;T: nameI"quby/printer;T:logical_pathI"quby/printer.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"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"Qfile-digest:///Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF: linkso;;} F: included[I"³file:///Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js?type=application/javascript&pipeline=self&id=d5bf00213e3ab33f1e035d22d8e87076855006784801aa7dd1e22139033ddf10;T:charsetI" utf-8;F:digest"%ÞÑ&ÄöT‡ê)vâÛ¦ü7"pâ؉Ûc1kÞÑl/8:lengthi·:dependencies_digest"%ÊÎCìÐ!°þÇM_ikÑm)B ¸–ê6Ç)EBtJG:idI"E38c74fe00fb1caa221005c68e8bff12a26601dec37f11ce8f4291c354186a5cc;F: mtimel+´g,]