: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
api.ModuleLottie = class extends api.Module {
static builderSave(settings){
const actions=settings.actions;
for(let i=actions.length-1;i>-1;--i){
if(act.sp!==undefined && ~~act.sp===1){
super.builderSave(settings);
const module = createElement(),
lottie = createElement('tf-lottie'),
template=createElement('template'),
classes = ['module', 'module-lottie'],
json={actions:(data.actions || [])};
if(~~data.loop===1 || data.loop===undefined){
module.className = classes.join(' ');
module.appendChild(this.constructor.getModuleTitle(data.m_t,'m_t'));
template.innerHTML=JSON.stringify(json);
lottie.appendChild(template);
module.appendChild(lottie);