ded / bonzo

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

Prevent overwriting element's data, and fix for scrollTop/scrollLeft #25

Closed amccollum closed 13 years ago

amccollum commented 13 years ago

The element's data was being overwritten any time a new value was set.

Also, the strict equality check in the scroll function was causing failures when x or y was undefined instead of null.

ded commented 13 years ago

awesome. i can dig it.