Update main.js

This commit is contained in:
Mirco Wittrien 2019-04-18 11:10:58 +02:00 committed by GitHub
parent 0d4e348e67
commit 91fded7baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2163,6 +2163,7 @@ var ClassNormalizer = (() => {
shouldIgnore(value) {
if (!isNaN(value)) return true;
if (value.endsWith("px") || value.endsWith("ch") || value.endsWith("em") || value.endsWith("ms")) return true;
if (value.startsWith("layerContainer-")) return true;
if (value.startsWith("#") && (value.length == 7 || value.length == 4)) return true;
if (value.includes("calc(") || value.includes("rgba")) return true;
return false;