ded / bonzo

library agnostic, extensible DOM utility
Other
1.32k stars 137 forks source link

Fix for #116 #117

Closed ls12styler closed 11 years ago

ls12styler commented 11 years ago

Originally, the .val() method only allowed the setting of values if they were strings. This should also allow numbers as the passed in argument.

rvagg commented 11 years ago

has this been tested across older browsers too @ls12styler? I'm wondering if we need a s.toString() or a String(s) to handle numbers properly on .setAttribute().

rvagg commented 11 years ago

Had to fix the test, but all good and passes on old browsers. Released as 1.3.5. Thanks @ls12styler! cc @mose