Update proxy.js

ups != was right in one of those cases.... 
ummm using typeof may be better? 
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof
This commit is contained in:
christopher james churchill 2016-03-21 14:51:26 +00:00
parent bc94bc1fe0
commit 25750ddf2d

View file

@ -180,6 +180,6 @@ function shouldDump(name, direction) {
return matches(printNameWhitelist[name]);
function matches(result) {
return result !== null && result.indexOf(direction) !== -1;
return result != null && result.indexOf(direction) !== -1;
}
}