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

trotzig / diffux / 306 / 2
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2014 06:29AM UTC
Files 32
Run time 2s
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

27 Mar 2014 05:52AM UTC coverage: 96.61% (+0.04%) from 96.575%
2.1.0

push

travis-ci

trotzig
Use pills instead of tabs for diff image types

I ran into a couple of issues when using the bootstrap `.nav-tabs`
component:

- The tabs were not as visible as I would have wanted
- Setting the width and a bg-color helped, but didn't look good all the
  time.

I'm switching to using the `.nav-pills` component instead. It's more
noticeable and works better without a set width.

I also changed the initialization to happen in js instead of through the
data-spy attribute. It turns out that bootstrap will only initialize
components once, on document ready. Since we're using Turbolinks I had
to make sure that the affix behavior worked even after a turbolink page
change. This had the added benefit of making the transition from static
to fixed positioning smoother.

570 of 590 relevant lines covered (96.61%)

34.68 hits per line

Source Files on job 306.2 (2.1.0)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 306
  • Travis Job 306.2
  • 390ad629 on github
  • Prev Job for 2.1.0 on master (#305.2)
  • Next Job for 2.1.0 on master (#307.2)
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