Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added script to check for console.log statements

Mike McGann467b9941a10b
diff --git a/test/check_no_console.sh b/test/check_no_console.sh
new file mode 100755
index 000000000..d84da892d
--- /dev/null
+++ b/test/check_no_console.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+BASEDIR=$(dirname "$0")
+SRCDIR="$BASEDIR"/../js
+
+find "$SRCDIR" -name "*.js" -exec grep -H console.log {} \; \
+ | grep -v "//" \
+ | grep -v "Logging.js" \
+ | grep -v "js/ext"
+