{:uriI"·file:///Users/marten/rgoc/roqua/vendor/gems/quby/app/assets/javascripts/quby/printer.js?type=application/javascript&id=108d80da07cfcd346a2998d5294d3a05312524de782f3fe55889d5a55001d2c6:ET:load_pathI"E/Users/marten/rgoc/roqua/vendor/gems/quby/app/assets/javascripts;T: filenameI"U/Users/marten/rgoc/roqua/vendor/gems/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"cfile-digest:///Users/marten/rgoc/roqua/vendor/gems/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/roqua/vendor/gems/quby/app/assets/javascripts/quby/printer.js?type=application/javascript&pipeline=self&id=e57fec91eb927690c217b71e919f7123b6fe69761ed5492e496b166715085e01;T:charsetI" utf-8;F:digest"%ÞÑ&ÄöT‡ê)vâÛ¦ü7"pâ؉Ûc1kÞÑl/8:lengthi·:dependencies_digest"%:Sw—(šÝnpl²º‚»,À˜DåÌ2m3‡ùre:idI"E108d80da07cfcd346a2998d5294d3a05312524de782f3fe55889d5a55001d2c6;F: mtimel+]e