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

rwaldron / johnny-five / 2567 / 8
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2017 04:40PM UTC
Files 55
Run time 3s
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

13 Apr 2017 03:37PM UTC coverage: 82.076% (-0.6%) from 82.68%
NO_SERIALPORT_INSTALL=1

push

travis-ci

rwaldron
Add support for CSS color function notation to Led.RGB.color() (#1320)

* Add support for CSS functional notation to Led.RGB.color

Adds support for CSS functional notation (e.g. `"rgb(255, 255, 0)"`) to the `color()` method on the Led.RGB prototype.

Supports:

  - `rgb(r, g, b)`
  - `rgba(r, g, b, a)` where the alpha value in the range 0-1 modifies the color as an intensity function using `RGB.ToScaledRGB()`
  - `rgba(r, g, b)` and `rgb(r, g, b, a)` to comply with the [CSS Color Module Level 4 Draft](https://drafts.csswg.org/css-color/#rgb-functions)

* Add support for functional notation without commas

Also part of the CSS color level 4 spec.

* Fix lint errors

2390 of 3255 branches covered (73.43%)

6475 of 7889 relevant lines covered (82.08%)

150.62 hits per line

Source Files on job 2567.8 (NO_SERIALPORT_INSTALL=1)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2567
  • Travis Job 2567.8
  • e3357040 on github
  • Prev Job for NO_SERIALPORT_INSTALL=1 on master (#2566.10)
  • Next Job for NO_SERIALPORT_INSTALL=1 on master (#2568.10)
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