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
As our frontend dev said it would be good if compiled templates supported
requirejs or even without requirejs one could wrap them inside another function to limit the namespace. This is important because it will not register compiled files as global java functions which is not very good in terms of performance and also could lead to name collisions.
As our frontend dev said it would be good if compiled templates supported
requirejs or even without requirejs one could wrap them inside another function to limit the namespace. This is important because it will not register compiled files as global java functions which is not very good in terms of performance and also could lead to name collisions.
Example call when feature is available:
www.domain.com/soy/hash/index?namespace=myNamespace
and the output js will be wrapped inside a var myNamespace = function() {
}
The text was updated successfully, but these errors were encountered: