Skip to content

Commit

Permalink
check for window.console
Browse files Browse the repository at this point in the history
  • Loading branch information
daepark committed Jan 28, 2010
1 parent ea1d2d2 commit b1e7964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.postmessage.js
@@ -1,6 +1,7 @@
(function($) {

if (!("console" in window)) {
window.console = {};
window.console.log = window.console.warn = window.console.error = window.console.debug = function(){};
}

Expand Down

0 comments on commit b1e7964

Please sign in to comment.