Comparing version 3.0.10 to 3.0.11
@@ -20,7 +20,7 @@ "use strict"; | ||
isRelativeSpacing: function isRelativeSpacing(value) { | ||
return value.match(/(?:r)?em$/g) !== null; | ||
return /rem$/.test(value); | ||
}, | ||
remToPx: function remToPx(rem, baseFontPercentage, baseFontPixel) { | ||
return parseFloat(rem.replace(/r(em)/g, "")) * baseFontPixel * (baseFontPercentage / 100) + "px"; | ||
return parseFloat(rem.replace(/rem/g, "")) * baseFontPixel * (baseFontPercentage / 100) + "px"; | ||
}, | ||
@@ -27,0 +27,0 @@ |
{ | ||
"name": "theo", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "A set of Gulp plugins for transforming and formatting Design Properties", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
73966
11