FreeAllMedia / stimpak

An easy-to-use system for defining, discovering, and re-using code, text, and workflow patterns
http://stimpak.io
MIT License
8 stars 1 forks source link

doc(fix): removed parseInt(<string>) => NaN #36

Closed warang580 closed 8 years ago

warang580 commented 8 years ago

If you parseInt("Belcher"), you will get NaN, not "Belcher".

dcrockwell commented 8 years ago

If a falsy value is returned by the transform function, it will return the original value. (needs to be documented, but I'm not sure of the behavior of this part, yet.)

This might not be good as it makes transforms on booleans impossible, but perhaps that's okay.