From 62edb797371ad9b99a8e377a25c432bbde0784a0 Mon Sep 17 00:00:00 2001 From: Sathvik Ponangi Date: Tue, 20 Jan 2015 12:48:21 +0530 Subject: [PATCH] Fix jshint warnings --- jQuery.print.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jQuery.print.js b/jQuery.print.js index bed062c..0f2ff80 100644 --- a/jQuery.print.js +++ b/jQuery.print.js @@ -36,7 +36,7 @@ frameWindow.print(); } frameWindow.close(); - deferred.resolve(); + def.resolve(); }, 250); } catch (err) { def.reject(err); @@ -192,7 +192,7 @@ }) .fail(function () { // Use the pop-up method if iframe fails for some reason - console.error("Failed to print from iframe", e.stack, e.message); + console.error("Failed to print from iframe"); printContentInNewWindow(content); }) .always(function () { @@ -227,4 +227,4 @@ } return this; }; -})(jQuery); \ No newline at end of file +})(jQuery);