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

bem / bem-naming / 256 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: greenkeeper-eslint-2.6.0
DEFAULT BRANCH: master
Ran 20 Mar 2016 07:31PM UTC
Files 1
Run time 0s
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

20 Mar 2016 07:27PM UTC coverage: 100.0%. Remained the same
COVERALLS=1

push

travis-ci

blond
fix(stringify): should not throw error

The stringify method should return `undefined` if impossible to
stringify BEM notation.

It will be easier to check for an empty string than use `try..catch`.

**Before changes:**

```js
try {
    var str = bemNaming.stringify({ elem: 'elem' });
} catch(e) { /* ... */ }
```

**After changes:**

```js
var str = bemNaming.stringify({ elem: 'elem' });

if (str) {
    /* ... */
}
```

79 of 79 relevant lines covered (100.0%)

21.47 hits per line

Source Files on job 256.1 (COVERALLS=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 256
  • Travis Job 256.1
  • b0cd36c9 on github
  • Prev Job for COVERALLS=1 on issue-55 (#255.1)
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