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

trotzig / diffux / 306
99%

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

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%)

69.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 306.1 (2.0.0) 27 Mar 2014 06:29AM UTC 0
96.61
Travis Job 306.1
2 306.2 (2.1.0) 27 Mar 2014 06:29AM UTC 0
96.61
Travis Job 306.2
Source Files on build 306
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #306
  • 390ad629 on github
  • Prev Build on master (#305)
  • Next Build on master (#307)
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