on scene selection OK + keyframe model

This commit is contained in:
STEINNI
2025-10-25 20:23:43 +00:00
parent 6931a777a2
commit 4e1f6886f2
23 changed files with 2107 additions and 64 deletions
+3 -3
View File
@@ -126,8 +126,8 @@ class Controller {
static processTemplate(name, html, templateData) {
// Define a function inside of which templateData keys will become local variables
// AND where templateData values will become thos variable values ;-)
// Drawback is that complex epression
// AND where templateData values will become those variable values ;-)
// Drawback is that complex expression
function evalaluateTemplate(tpl, params) {
var interpretor = Function(...Object.keys(params), 'return('+tpl+');' );
return interpretor(...Object.values(params));
@@ -163,7 +163,7 @@ class Controller {
}
}
// Now that all remaining expressions are OK, evaluate the template via backtits !
return(evalaluateTemplate('`' + html + '`', templateData));
}