Skip to content

Commit

Permalink
fix jsdoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uxter committed Oct 30, 2017
1 parent 888892a commit a843d07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bcn('block')('element')('modifier');
## Functions

<dl>
<dt><a href="#bemcn">bemcn(ep, mp, wbd)</a> ⇒ <code><a href="#b">b</a></code></dt>
<dt><a href="#bemcn">bemcn(ep, mp, [wbd])</a> ⇒ <code><a href="#b">b</a></code></dt>
<dd><p>BEM class names</p>
</dd>
<dt><a href="#b">b(v)</a> ⇒ <code><a href="#e">e</a></code></dt>
Expand All @@ -87,7 +87,7 @@ bcn('block')('element')('modifier');

<a name="bemcn"></a>

## bemcn(ep, mp, wbd) ⇒ [<code>b</code>](#b)
## bemcn(ep, mp, [wbd]) ⇒ [<code>b</code>](#b)
BEM class names

**Kind**: global function
Expand All @@ -97,7 +97,7 @@ BEM class names
| --- | --- | --- |
| ep | <code>string</code> | element prefix |
| mp | <code>string</code> | modifier prefix |
| wbd | <code>string</code> | with base class name (default value) |
| [wbd] | <code>boolean</code> | with base class name (default value) |

<a name="b"></a>

Expand Down
2 changes: 1 addition & 1 deletion bemcn.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @description BEM class names
* @param {string} ep - element prefix
* @param {string} mp - modifier prefix
* @param {string} wbd - with base class name (default value)
* @param {boolean=} wbd - with base class name (default value)
* @return {b} - block creator
*/
function bemcn(ep, mp, wbd) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bemcn",
"version": "1.0.2",
"version": "1.0.3",
"description": "bemcn is an utility for creating BEM class names.",
"main": "bemcn.js",
"scripts": {
Expand Down

0 comments on commit a843d07

Please sign in to comment.