bemto-components
Advanced tools
Comparing version 1.1.0 to 1.1.1
# `bemto-components` changelog | ||
## v1.1.1 (2017-10-30) | ||
- Fixed the call without tagString at all. | ||
## v1.1.0 (2017-10-30) | ||
@@ -4,0 +8,0 @@ |
@@ -24,3 +24,3 @@ const React = require('react'); | ||
const bemto = function(tagString) { | ||
const parsedBlockTagString = parseTagString(tagString); | ||
const parsedBlockTagString = parseTagString(tagString || ''); | ||
const bemtoFactory = class bemtoTag extends React.Component { | ||
@@ -27,0 +27,0 @@ render(){ |
{ | ||
"name": "bemto-components", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Smart components for using parts of BEM methodology with React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -24,2 +24,9 @@ const React = require('react'); | ||
test('without anything, but with external className', () => { | ||
testSnapshot( | ||
bemto(), | ||
{ className: 'block', _mod: 'value' } | ||
); | ||
}); | ||
test('with boolean modifier', () => { | ||
@@ -26,0 +33,0 @@ testSnapshot( |
Sorry, the diff of this file is not supported yet
19593
188