Alex
Member since Jan 11, 2012
- Profile: /members/9474-alex.htm
- Comments: 1
Recent Blog Comments By Alex
-
Creating A Fixed-Length Queue In JavaScript Using Arrays
Posted on Jan 11, 2012 at 7:39 AM
@Ben, Thanks for this! I have found a use for it already. I am creating a widget that detects and fires a "shake" event (drag it left and right or up and down with the mouse) and I only want to check the last (n) direction changes to see if they fall within the (time_threshold). This needs... read more »