functions.js 315 B

12345678910111213141516171819202122
  1. 'use strict';
  2. const camelCaseFunctions = new Set([
  3. 'translateX',
  4. 'translateY',
  5. 'translateZ',
  6. 'scaleX',
  7. 'scaleY',
  8. 'scaleZ',
  9. 'rotateX',
  10. 'rotateY',
  11. 'rotateZ',
  12. 'skewX',
  13. 'skewY',
  14. ]);
  15. const mathFunctions = new Set(['calc', 'clamp', 'max', 'min']);
  16. module.exports = {
  17. camelCaseFunctions,
  18. mathFunctions,
  19. };