public IHeaderResponse decorate(IHeaderResponse response)
{
// use this header resource decorator to load all JavaScript resources in the page
// footer (after </body>)
return new JavaScriptFilteredIntoFooterHeaderResponse(response, "footerJS");
}
});
IPackageResourceGuard guard = getResourceSettings().getPackageResourceGuard();
if (guard instanceof SecurePackageResourceGuard)