UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

10 lines (9 loc) 241 B
"use strict"; import { GSAP_FACTORY } from "./gsapFactory"; import { gsap } from "./gsap"; export function onGsapModuleRegister(poly) { GSAP_FACTORY.gsap = gsap; GSAP_FACTORY.timeline = (vars) => { return gsap.timeline(vars); }; }