src/emitter.js: Use strict comparison

Fixes the following JSHint error:

  ./src/emitter.js: line 44, col 48, Expected '!==' and instead saw '!='.
redux
David Majda 13 years ago
parent f893d47b98
commit d1b83e4ab3

@ -41,7 +41,7 @@ PEG.compiler.emitter = function(ast) {
throw new Error("Undefined variable: \"" + name + "\".");
}
if (filter !== undefined && filter != "") { // JavaScript engines differ here.
if (filter !== undefined && filter !== "") { // JavaScript engines differ here.
if (filter === "string") {
return quote(value);
} else {

Loading…
Cancel
Save