dcodeIO / Preprocessor.js

A JavaScript source file preprocessor in pure JavaScript, e.g. to build different versions of a library.
http://dcode.io
Apache License 2.0
72 stars 19 forks source link

Fix for "Writing the result of evaluated expressions" example #1

Closed dahmian closed 11 years ago

dahmian commented 11 years ago

In the current example "Writing the result of evaluated expressions" for "VERSIONS", the example is missing a single quote at the end of the line. This is causing an error when that line is evaluated.

SyntaxError: Unexpected token ILLEGAL at Preprocessor.evaluate (/usr/local/lib/node_modules/preprocessor/Preprocessor.js:170:25)