933d61de19
* added ESLint and updated all code base * updated SVGPathCommander, CubicBezier, shorter-js, minifill * updated polyfills * minor CSS fixes
19 lines
504 B
JavaScript
19 lines
504 B
JavaScript
import onStart from '../objects/onStart.js';
|
|
import linkInterpolation from './linkInterpolation.js';
|
|
|
|
export default function queueStart() {
|
|
// fire onStart actions
|
|
Object.keys(onStart).forEach((obj) => {
|
|
if (typeof (onStart[obj]) === 'function') {
|
|
onStart[obj].call(this, obj); // easing functions
|
|
} else {
|
|
Object.keys(onStart[obj]).forEach((prop) => {
|
|
onStart[obj][prop].call(this, prop);
|
|
});
|
|
}
|
|
});
|
|
|
|
// add interpolations
|
|
linkInterpolation.call(this);
|
|
}
|