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

bem / bem-walk
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.0.0-alpha1
DEFAULT BRANCH: master
Repo Added 21 Jan 2015 09:46PM UTC
Files 4
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-15
branch: issue-15
CHANGE BRANCH
x
Reset
  • issue-15
  • ci
  • coveralls-test
  • issue-24
  • issue-25
  • master
  • refact-test
  • test/lib
  • v1.0.0-alpha1

pending completion
105

push

travis-ci

andrewblond
Refactored `walk` arguments

**1. The second argument now expects `config` instead of `options`.**

Options by default now need specify in `config.defaults` instead of
`options`.

*Before:*

```js
walk(['blocks'], { sheme: 'flat' });
```

*After:*

```js
var config = {
    defaults: { sheme: 'flat' }
};

walk(['blocks'], config);
```

**2. Info about levels (scheme and naming) now need specify in
`config.levels` instead of `levels` arguments.**

The `levels` argument as `Array` no longer supported.

*Before:*

```js
walk([{ path: 'blocks', sheme: 'flat' }]);
```

*After:*

```js
var config = {
    levels: {
        blocks: { sheme: 'flat' }
    }
};

walk(['blocks'], config);
```

73 of 73 relevant lines covered (100.0%)

69.86 hits per line

Relevant lines Covered
Build:
Build:
73 RELEVANT LINES 73 COVERED LINES
69.86 HITS PER LINE
Source Files on issue-15
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
105 issue-15 Refactored `walk` arguments **1. The second argument now expects `config` instead of `options`.** Options by default now need specify in `config.defaults` instead of `options`. *Before:* ```js walk(['blocks'], { sheme: 'flat' }); ``` *After:*... push 02 Jul 2015 09:46PM UTC andrewblond travis-ci pending completion  
81 issue-15 Refactored `walk` arguments: **1. The second argument now expects `config` instead of `options`.** Options by default now need specify in `config.defaults` instead of `options`. *Before:* ```js walk(['blocks'], { sheme: 'flat' }); ``` *After:... push 28 Mar 2015 01:21AM UTC andrewblond travis-ci pending completion  
75 issue-15 Refactored `walk` arguments: **1. The second argument now expects `config` instead of `options`.** Options by default now need specify in `config.defaults` instead of `options`. *Before:* ```js walk(['blocks'], { sheme: 'flat' }); ``` *After:... push 27 Mar 2015 08:16PM UTC andrewblond travis-ci pending completion  
73 issue-15 Refactored `walk` arguments: **1. The second argument now expects `config` instead of `options`.** Options by default now need specify in `config.defaults` instead of `options`. *Before:* ```js walk(['blocks'], { sheme: 'flat' }); ``` *After:... push 27 Mar 2015 08:13PM UTC andrewblond travis-ci pending completion  
72 issue-15 Refactored `walk` arguments: 1. The second argument now expects `config` instead of `options`. Options by default now need specify in `config.defaults` instead of `options`. Before: ```js walk(['blocks'], { sheme: 'flat' }); ``` After: ```js ... push 27 Mar 2015 08:08PM UTC andrewblond travis-ci pending completion  
See All Builds (63)
  • 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