IjzerenHein / famous-flex

Animatable layouts, FlexScrollView & widgets for famo.us.
MIT License
279 stars 44 forks source link

minor spelling error in ScrollController.js: touchMoveDirectionThresshold should be written touchMoveDirectionThreshold #101

Closed quentinburley closed 9 years ago

quentinburley commented 9 years ago

minor spelling error in ScrollController.js: touchMoveDirectionThresshold should be written touchMoveDirectionThreshold

impact also on tutorials/FlexScrollView.md

better to fix this early before many people start using the bad spelling.

IjzerenHein commented 9 years ago

Hi, thanks for letting me know! I've renamed the 'threshold' options to use only one s. I've also included a bit of backwards compatibility code so that when the old options are used, it still works but generates a warning. Thanks.

IjzerenHein commented 9 years ago

Hi, I've just released a new version with the new spelling. For backwards compatibility, I've included the old spelling as well, but when used it will generate a warning and that it will become deprecated in the future.