From f83dca1b61f557e6dbb68c392c836f54103c849e Mon Sep 17 00:00:00 2001 From: Sathvik P Date: Tue, 17 Jul 2012 20:23:26 +0530 Subject: [PATCH] Added jsFiddle Demo --- README.md | 3 ++- jQuery.print.js | 13 ++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c6085f3..59f974a 100644 --- a/README.md +++ b/README.md @@ -20,5 +20,6 @@ Include it in your HTML after importing jQuery, like: [CC-BY](http://creativecommons.org/licenses/by/3.0/). ## Live at -Comming Soon ... +[jsFiddle](http://jsfiddle.net/5V24U/2/) + Do let me know if you are using it and would like to be featured here \ No newline at end of file diff --git a/jQuery.print.js b/jQuery.print.js index 4a4a565..e201729 100644 --- a/jQuery.print.js +++ b/jQuery.print.js @@ -59,8 +59,7 @@ } if (options.stylesheet) { // Add a custom stylesheet if given - styles = $.merge(styles, $('')); + styles = $.merge(styles, $('')); } var copy = $this.clone(); // Create a copy of the element to print @@ -96,7 +95,7 @@ w.close(); } return this; - } + }; $.fn.setupPrintLink = function() { // Add a link to print a given set of elements @@ -158,8 +157,7 @@ } if (options.stylesheet) { // Add a custom stylesheet if given - styles = $.merge(styles, $('')); + styles = $.merge(styles, $('')); } // var scripts = $("script"); //Un-Comment if you want scripts to be @@ -213,5 +211,6 @@ }); }); return this; - } -})(jQuery); \ No newline at end of file + }; +})(jQuery); +