mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-28 08:02:16 +08:00
15 lines
315 B
JavaScript
15 lines
315 B
JavaScript
import hasInterpolation from './hasInterpolation.mjs';
|
|
|
|
/**
|
|
* Check whether a keyframes name is standard
|
|
*
|
|
* @param {string} keyframesName
|
|
* @returns {boolean}
|
|
*/
|
|
export default function isStandardSyntaxKeyframesName(keyframesName) {
|
|
if (hasInterpolation(keyframesName)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|