Render booleans as empty strings

This commit is contained in:
Bruce Lewis 2016-06-10 11:00:56 -04:00
parent 8ee75924c8
commit c98f663653
3 changed files with 38 additions and 2 deletions

View file

@ -188,7 +188,7 @@
// value of Console.log in some versions of Firefox (behavior depends on
// version)
try {
if (data != null && data.toString() != null) return data
if (typeof data !== "boolean" && data != null && data.toString() != null) return data
} catch (e) {
// silently ignore errors
}