aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation/Morphable.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/Morphable.js')
-rw-r--r--src/animation/Morphable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/Morphable.js b/src/animation/Morphable.js
index 46dd166..3344480 100644
--- a/src/animation/Morphable.js
+++ b/src/animation/Morphable.js
@@ -2,7 +2,7 @@ import { Ease } from './Controller.js'
import {
delimiter,
numberAndUnit,
- pathLetters
+ isPathLetter
} from '../modules/core/regex.js'
import { extend } from '../utils/adopter.js'
import Color from '../types/Color.js'
@@ -19,7 +19,7 @@ const getClassForType = (value) => {
if (Color.isColor(value)) {
return Color
} else if (delimiter.test(value)) {
- return pathLetters.test(value)
+ return isPathLetter.test(value)
? PathArray
: SVGArray
} else if (numberAndUnit.test(value)) {