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

wieringen / tinyscrollbar / 106
53%

Build:
DEFAULT BRANCH: master
Ran 20 Feb 2015 07:03PM UTC
Jobs 1
Files 2
Run time 14s
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
106

Pull #53

travis-ci

crrobinson14
Fix two resize() handler glitches when disabled

The ```resize``` event handler calls update with a 'relative' scroll. Two things happen in this case:

# The 'disabled' class is added MANY times - once for every pixel of resize (see below about debouncing)
# If the content size is less than the viewport size, a negative offset is added as part of the relative scroll. This causes the content to 'jump' down by the difference.

Note that it would probably also be a very good idea to 'debounce' this event handler... I wasn't sure what your preferred mechanism for that might be so I didn't include it here.
Pull Request #53: Fix two resize() handler glitches when disabled

2 of 2 new or added lines in 1 file covered. (100.0%)

130 of 239 relevant lines covered (54.39%)

2.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/tinyscrollbar.js
Jobs
ID Job ID Ran Files Coverage
1 106.1 20 Feb 2015 07:03PM UTC 0
54.39
Travis Job 106.1
Source Files on build 106
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #106
  • Pull Request #53
  • PR Base - master (#105)
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

© 2025 Coveralls, Inc