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

Put variable bug #4

Closed dy closed 11 years ago

dy commented 11 years ago

Bug report. Stumbled upon critical thing: test.txt:

// #put NAME

preprocess test.txt -NAME=0.1.1 > result.txt

result.txt:

false

Seems that any passed variables casts to the boolean ones. It’s not the way I thought it supposed to work. OS is windows 7.