including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
function SlotManager(animationData) {
this.animationData = animationData;
}
SlotManager.prototype.getProp = function (data) {
if (this.animationData.slots
&& this.animationData.slots[data.sid]
) {
return Object.assign(data, this.animationData.slots[data.sid].p);
}
return data;
};
function slotFactory(animationData) {
return new SlotManager(animationData);
}
export default slotFactory;