You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tplScripts extend aria.templates.Template (this is a remainder of the code that has been removed a long time ago, in 1.0-30).
This can lead to circular dependencies if a template has a CSS template via $css and that CSS template uses a template script.
The text was updated successfully, but these errors were encountered:
If a template had a CSS template with script in its dependencies, then
a circular dependency error might have happened due to that. This commit
removes the the dependency of a tplScript on aria.templates.Template
which could lead to that situation.
Additionally, the $constructor and $destructor functions are removed
at Aria.tplScriptDefinition call time to prevent direct instantiation of
tplScripts (but the user can still specify $constructor and $destructor
in their template script and they will be invoked).
Closeariatemplates#395.
Currently tplScripts extend
aria.templates.Template
(this is a remainder of the code that has been removed a long time ago, in 1.0-30).This can lead to circular dependencies if a template has a CSS template via
$css
and that CSS template uses a template script.The text was updated successfully, but these errors were encountered: