Skip to content

Commit

Permalink
Fix jshint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathvik Ponangi committed Jan 20, 2015
1 parent 8e37c97 commit 62edb79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jQuery.print.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
frameWindow.print();
}
frameWindow.close();
deferred.resolve();
def.resolve();
}, 250);
} catch (err) {
def.reject(err);
Expand Down Expand Up @@ -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 () {
Expand Down Expand Up @@ -227,4 +227,4 @@
}
return this;
};
})(jQuery);
})(jQuery);

0 comments on commit 62edb79

Please sign in to comment.