AmpersandJS / ampersand-input-view

A view module for intelligently rendering and validating input. Works well with ampersand-form-view.
MIT License
17 stars 19 forks source link

Allow use of `0` as a value; related test #17

Closed dhritzkiv closed 10 years ago

dhritzkiv commented 10 years ago

Useful for when the input type is number;

wraithgar commented 10 years ago

+1 good, with test. Though I don't think we care about the typeof undefined stuff, just === undefined it's ok ;)

dhritzkiv commented 10 years ago

True, since value is a key of this, it will === undefined (if really undefined) and not throw in a reference error.

Will make the change.

HenrikJoreteg commented 10 years ago

thanks, published in 2.1.0 release