Skip to content

Commit

Permalink
fix(bem.js): fix typo for stringifyClassStringTokens (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cherouny authored and jozanza committed Oct 23, 2017
1 parent 18f0d19 commit 9ed3c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bem.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function BEM(block) {
*/
BEM.methods = {
css: (...args) => bemifyCSS(...args),
classNames: (...args) => stingifyClassStringTokens(
classNames: (...args) => stringifyClassStringTokens(
...tokenizeClassString(...args)
)
};
Expand Down Expand Up @@ -125,7 +125,7 @@ export function tokenizeClassString(block, classString, ...props) {
* @param {String} modifiers The 'M' in BEM
* @return {String} Formatted BEM classstring
*/
export function stingifyClassStringTokens(prefix, block, element, modifiers) {
export function stringifyClassStringTokens(prefix, block, element, modifiers) {
let root = block + (element ? `__${element}` : '');
return [
prefix[0] === '+' ||
Expand Down

0 comments on commit 9ed3c06

Please sign in to comment.