You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda ff8e877fce Change module exporting style
Modules now generally store the exported object in a named variable or
function first and only assign |module.exports| at the very end. This is
a difference when compared to style used until now, where most modules
started with a |module.exports| assignment.

I think the explicit name helps readability and understandability.
10 years ago
..
compiler Change module exporting style 10 years ago
compiler.js Change module exporting style 10 years ago
grammar-error.js Change module exporting style 10 years ago
parser.js Wrap initializer code in generated parsers into |{...}| 10 years ago
peg.js Change module exporting style 10 years ago
utils.js Standardize on 3 spaces before // comments 10 years ago