postcss-scopify
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -41,3 +41,4 @@ 'use strict'; | ||
function isScopeApplied(selector,scope) { | ||
return selector.indexOf(scope) === 0; | ||
var selectorTopScope = selector.split(" ",1)[0]; | ||
return selectorTopScope === scope; | ||
} | ||
@@ -44,0 +45,0 @@ |
{ | ||
"name": "postcss-scopify", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "PostCSS plugin that adds a user input scope to each selector", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -60,1 +60,5 @@ # PostCSS Scopify [![Build Status][ci-img]][ci] | ||
See [PostCSS] docs for examples for your environment. | ||
## Change Log | ||
### v0.1.4 | ||
fixes [#4](https://github.com/pazams/postcss-scopify/issues/4) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5379
46
64