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

bem / bem-naming
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: greenkeeper-eslint-2.6.0
DEFAULT BRANCH: master
Repo Added 04 Jul 2014 05:17PM UTC
Files 1
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

LAST BUILD ON BRANCH issue-55
branch: issue-55
CHANGE BRANCH
x
Reset
  • issue-55
  • docs
  • greenkeeper-coveralls-2.11.9
  • greenkeeper-eslint-2.5.1
  • greenkeeper-eslint-2.5.3
  • greenkeeper-eslint-2.6.0
  • issue-50
  • issue-51
  • issue-53
  • issue-66
  • issue-68
  • issue-69
  • issue-72
  • issue-77
  • issue-85
  • issue-87
  • issue-91
  • master
  • refact
  • sauselabs
  • speed-parse
  • speed-stringify
  • speed-typeof
  • v0.5.1
  • v1.0.0
  • v1.0.1

pending completion
256

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

Relevant lines Covered
Build:
Build:
79 RELEVANT LINES 79 COVERED LINES
21.47 HITS PER LINE
Source Files on issue-55
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
256 issue-55 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 = ... push 20 Mar 2016 07:31PM UTC blond travis-ci pending completion  
255 issue-55 fix(stringify): 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({ e... push 20 Mar 2016 07:30PM UTC blond travis-ci pending completion  
See All Builds (226)
  • Repo on GitHub
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