diff --git a/lib/compiler/passes/generate-javascript.js b/lib/compiler/passes/generate-javascript.js index 8806414..4531a23 100644 --- a/lib/compiler/passes/generate-javascript.js +++ b/lib/compiler/passes/generate-javascript.js @@ -4,7 +4,7 @@ var arrays = require("../../utils/arrays"), js = require("../javascript"); /* Generates parser JavaScript code. */ -function generateJavaScript(ast, options) { +function generateJavascript(ast, options) { /* These only indent non-empty lines to avoid trailing whitespace. */ function indent2(code) { return code.replace(/^(.+)$/gm, ' $1'); } function indent4(code) { return code.replace(/^(.+)$/gm, ' $1'); } @@ -978,4 +978,4 @@ function generateJavaScript(ast, options) { ast.code = parts.join('\n'); } -module.exports = generateJavaScript; +module.exports = generateJavascript;