lottie-web
Version:
After Effects plugin for exporting animations to SVG + JavaScript or canvas + JavaScript
14 lines (12 loc) • 398 B
JavaScript
import dataManager from './DataManager';
dataManager.completeData = function (animationData) {
if (animationData.__complete) {
return;
}
this.checkColors(animationData);
this.checkChars(animationData);
this.checkPathProperties(animationData);
this.checkShapes(animationData);
this.completeLayers(animationData.layers, animationData.assets);
animationData.__complete = true;
};