generate-javascript.js: s/generateJavaScript/generateJavascript/

This makes the variable name in sync with pass name in lib/compiler.js.
redux
David Majda 11 years ago
parent 57f7fae684
commit f03ba4bf4f

@ -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;

Loading…
Cancel
Save