Skip to content

Commit

Permalink
Merge pull request #662 from koala-framework/kwcbem-replace
Browse files Browse the repository at this point in the history
don't replace kwcBem, only replace kwcBem__ and kwcBem--
  • Loading branch information
nsams committed Jan 4, 2018
2 parents f786416 + 9075bd3 commit c5467b7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -11,7 +11,8 @@ module.exports = function(source, map) {
this.cacheable();

source = source.replace(/\.kwcClass/g, '.'+query.cls);
source = source.replace(/kwcBem/g, query.cls);
source = source.replace(/kwcBem__/g, query.cls+'__');
source = source.replace(/kwcBem--/g, query.cls+'--');

return source;
};

0 comments on commit c5467b7

Please sign in to comment.