JavaScript animation engine
Use helper function instead of standard typeof
Andrew Babina0b18b02765b
diff --git a/anime.js b/anime.jsindex 18f6414d..736d62c9 100644--- a/anime.js+++ b/anime.js@@ -448,7 +448,7 @@return {original: value,numbers: value.match(rgx) ? value.match(rgx).map(Number) : [0],- strings: (typeof val === "string" || unit) ? value.split(rgx) : []+ strings: (is.str(val) || unit) ? value.split(rgx) : []}}