Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix: wrong short circuit

  • Loading branch information...
commit d6f32d395641d39cbbbcd7302c32138d79fedb4e 1 parent 75051ec
@scraperonce authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rturtle0.js
View
2  src/rturtle0.js
@@ -15,7 +15,7 @@ if (!String.prototype.trim) {
/**
* ALERT: REMOVE ALL "console.log"
*/
-if (!console && !console.log) {
+if (!console || !console.log) {
window.console = console || {};
console.log = function(alert) {
// TODO: output errors for "non-developer's browser";
Please sign in to comment.
Something went wrong with that request. Please try again.