• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trotzig / diffux / 206
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: animations
DEFAULT BRANCH: master
Ran 27 Feb 2014 06:31AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
206

push

travis-ci

trotzig
Improve scrolling on held-down j/k key

The jQuery `stop()` method takes two parameters that we can use to make
the scrolling experience better when you are keyboard-navigating and
holding down j or k. The first boolean argument cancels all queued
animations. That's probably not too important for us. The second param
however, controls if the animation should be fast-forwarded when
cancelled (jump to the end). With that set to `true`, scrolling is way
faster when you hold down j or k.

I also extracted the current page that we scroll into a variable. That
made scrolling a bit faster because we don't have to query the DOM on
each step.
Source Files on build 206
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #206
  • b5bd1254 on github
  • Prev Build on better-nav-scroll (#205)
  • Next Build on better-nav-scroll (#207)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc