Comparing version 1.1.2 to 1.2.0
@@ -7,5 +7,3 @@ /** | ||
//TODO: automated tests | ||
//TODO: jquery selectors | ||
//TODO: query-relative integration | ||
@@ -87,2 +85,5 @@ | ||
//catch polyfillable first `:scope` selector - just erase it, works just fine | ||
selector = selector.replace(/^\s*:scope/, ''); | ||
return qPseudos([el], selector); | ||
@@ -117,3 +118,3 @@ } | ||
var id = getUid(); | ||
el.setAttribute('__scoped', id); | ||
list.forEach(function(el){el.setAttribute('__scoped', id);}); | ||
selector = '[__scoped="' + id + '"]' + selector; | ||
@@ -141,3 +142,2 @@ } | ||
var preSelector = paren.stringify(parts[0].slice(0, match.index), parts); | ||
if (preSelector) { | ||
@@ -144,0 +144,0 @@ list = qList(list, preSelector); |
{ | ||
"name": "queried", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Query selector CSS4 +", | ||
@@ -34,2 +34,3 @@ "main": "css4.js", | ||
"mocha": "^2.1.0", | ||
"mochify": "^2.2.0", | ||
"assert": "^1.3.0" | ||
@@ -36,0 +37,0 @@ }, |
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
8934
4