{:uriI"³file:///Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js?type=application/javascript&pipeline=self&id=d5bf00213e3ab33f1e035d22d8e87076855006784801aa7dd1e22139033ddf10: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.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"Qfile-digest:///Users/marten/rgoc/quby/app/assets/javascripts/quby/printer.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%ÞÑ&ÄöT‡ê)vâÛ¦ü7"pâ؉Ûc1kÞÑl/8: lengthi·:dependencies_digest"%1aÅ}«¾E Ø^R.ú¶'²W~”°ÚpÅb€Ø{×\:idI"Ed5bf00213e3ab33f1e035d22d8e87076855006784801aa7dd1e22139033ddf10;F: mtimel+´g,]