diff --git a/runtime/JavaScript/src/antlr4/dfa/DFA.js b/runtime/JavaScript/src/antlr4/dfa/DFA.js index 047c2cdf8..770e929e9 100644 --- a/runtime/JavaScript/src/antlr4/dfa/DFA.js +++ b/runtime/JavaScript/src/antlr4/dfa/DFA.js @@ -159,4 +159,4 @@ class DFA { } -module.exports = { DFA }; +module.exports = DFA; diff --git a/runtime/JavaScript/src/antlr4/dfa/index.js b/runtime/JavaScript/src/antlr4/dfa/index.js index fbe38cef1..9a98bd076 100644 --- a/runtime/JavaScript/src/antlr4/dfa/index.js +++ b/runtime/JavaScript/src/antlr4/dfa/index.js @@ -3,7 +3,7 @@ * can be found in the LICENSE.txt file in the project root. */ -exports.DFA = require('./DFA').DFA; +exports.DFA = require('./DFA'); exports.DFASerializer = require('./DFASerializer').DFASerializer; exports.LexerDFASerializer = require('./DFASerializer').LexerDFASerializer; exports.PredPrediction = require('./DFAState').PredPrediction; diff --git a/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.js b/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.js index 47f1a63b7..4536fa484 100644 --- a/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.js +++ b/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.js @@ -102,4 +102,4 @@ class DiagnosticErrorListener extends ErrorListener { } } -module.exports = {DiagnosticErrorListener} +module.exports = DiagnosticErrorListener diff --git a/runtime/JavaScript/src/antlr4/error/index.js b/runtime/JavaScript/src/antlr4/error/index.js index b200b7be1..73d7740c3 100644 --- a/runtime/JavaScript/src/antlr4/error/index.js +++ b/runtime/JavaScript/src/antlr4/error/index.js @@ -8,6 +8,6 @@ module.exports.NoViableAltException = require('./Errors').NoViableAltException; module.exports.LexerNoViableAltException = require('./Errors').LexerNoViableAltException; module.exports.InputMismatchException = require('./Errors').InputMismatchException; module.exports.FailedPredicateException = require('./Errors').FailedPredicateException; -module.exports.DiagnosticErrorListener = require('./DiagnosticErrorListener').DiagnosticErrorListener; +module.exports.DiagnosticErrorListener = require('./DiagnosticErrorListener'); module.exports.BailErrorStrategy = require('./ErrorStrategy').BailErrorStrategy; module.exports.ErrorListener = require('./ErrorListener').ErrorListener;