Comparing version 0.2.1 to 0.2.2
@@ -69,4 +69,7 @@ | ||
key = prefix(key) | ||
if (upper.test(key)) key = '-' + key.replace(upper, '-$1') | ||
if (upper.test(key)) { | ||
key = '-' + key.replace(upper, '-$1') | ||
upper.lastIndex = 0 // fix #1 | ||
} | ||
return key.toLowerCase() | ||
} |
{ | ||
"name": "prefix", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "prefix a css attribute", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"serve": "jkroso/serve#1.5.1", | ||
"assert": "component/assert", | ||
"mocha": "*" | ||
"mocha": "^2.2.5", | ||
"serve": "jkroso/serve#1.5.1" | ||
}, | ||
@@ -11,0 +10,0 @@ "repository": "git://github.com/jkroso/prefix.git", |
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
3531
2
4
61