diff --git a/core/main/client/lib/deployJava.js b/core/main/client/lib/deployJava.js index 80f34f6d2..f39fc22ee 100644 --- a/core/main/client/lib/deployJava.js +++ b/core/main/client/lib/deployJava.js @@ -70,16 +70,10 @@ var deployJava = function() { hattrs.events); var applet_valid_attrs = hattrs.applet.concat(hattrs.core); - // generic log function, use console.log unless it isn't available - // then revert to alert() + // generic log function function log(message) { if ( ! rv.debug ) {return}; - - if (console.log) { - console.log(message); - } else { - alert(message); - } + beef.debug(message); } //checks where given version string matches query @@ -1298,4 +1292,4 @@ var deployJava = function() { } return rv; -}(); \ No newline at end of file +}();