summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2018-01-02 21:23:45 +0100
committerUrban Müller2018-01-02 21:23:45 +0100
commite757700542633a24e71da19d6e9496b8763e118d (patch)
tree964f864aec998d175ff45bb2ced85ffa38d58d4c
parentb1af8f0030e4d65720291fc8a48b2c4c89861f39 (diff)
downloaditools-e757700542633a24e71da19d6e9496b8763e118d.tar.gz
itools-e757700542633a24e71da19d6e9496b8763e118d.tar.bz2
itools-e757700542633a24e71da19d6e9496b8763e118d.zip
env() does not validate yet
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 556cde9..d61284c 100644
--- a/itjs.php
+++ b/itjs.php
@@ -56,7 +56,7 @@ else if (it::match('\.css', $lastfile))
'([^/])\*(\w)' => '$1$2',
'svg\..*' => "", # ignore svg styles
'\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder)
- '\bconstant\(.*?\)' => "0", # ignore constant(), e.g. constant(safe-area-inset-left) for iPhone X
+ '\benv\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X
'\bcalc\(.*?\)' => "0", # ignore calc()
'\bbackground-position-[xy]' => "background-position",
),