Don't assume DEBUG is defined when exporting --self

Potential fix for #1148
This commit is contained in:
Richard van Velzen
2016-06-20 08:39:46 +02:00
parent 55c592dd43
commit aa82027a17

View File

@@ -18,6 +18,6 @@ exports["tokenizer"] = tokenizer;
exports["is_identifier"] = is_identifier;
exports["SymbolDef"] = SymbolDef;
if (DEBUG) {
if (typeof DEBUG !== "undefined" && DEBUG) {
exports["EXPECT_DIRECTIVE"] = EXPECT_DIRECTIVE;
}