kute.js/src/core/queueStart.js
thednp b0a6495748 Changes:
* replaced some path processing with SVGPathCommander
* minor improvements
2020-08-16 20:20:36 +00:00

17 lines
470 B
JavaScript

import onStart from '../objects/onStart.js'
import linkInterpolation from './linkInterpolation.js'
export default function(){
// fire onStart actions
for (let obj in onStart) {
if (typeof (onStart[obj]) === 'function') {
onStart[obj].call(this,obj) // easing functions
} else {
for (let prop in onStart[obj]) {
onStart[obj][prop].call(this,prop);
}
}
}
// add interpolations
linkInterpolation.call(this)
}