Closed tristandunn closed 12 years ago
bind
width
, innerWidth
is useless and incorrectmouseenter
/mouseleave
is a dealbreaker in my opinionmousewheel
is ok, it's optional atm, all it does is block the bounce on Safari when you reach the boundaries. However, if the goal is to claim Zepto support, it would be nice to offer a Zepto mousewheel alternative.More important than Zepto anyways is to remove the dependency on any framework at all… I think that's a better time investment.
Good point. Coming right up.
First pass of changes:
$.proxy
support when it's missing, as it is in Zepto. This is unfortunate.mouseenter
andmouseleave
using singlemouseover
andmouseout
events. Not sure if this has performance implications or not. Seemed fine in my testing.innerWidth()
towidth()
when determining the scrollbar size. I believe this is fine since the element doesn't have a border or padding.Missing:
mousewheel
support at the moment.