Surf support for JS file import
I am familiar with Alfresco Web Scripts where I used the following syntax to include JavaScript (JS) library files:
<import resource="classpath:alfresco/extension/templates/webscripts/com/ihg/hcm/utils.js">
This is quite handy! Looks like syntax straight out of a Spring application context file.
I attempted to use this syntax in a JS file within Spring Surf to no avail. I am hoping that some form of the import functionality was ported as part of moving Web Scripts to Spring Surf. Is this the case?
Otherwise, it looks rather painful to accomplish a file import in ECMA. Am I missing something?
Thanks,
Bob