Hi,
Struggling with new HeaderContribution semantics ... Trying to
dynamically add a javascript reference to header section.
My old code (that worked):
add(JavascriptPackageResource.getHeaderContribution("js/fb-auth-redirect
.js"));
Tried refactoring (unsuccessfully) as:
response.renderJavaScriptReference(new
PackageResourceReference("js/fb-auth-redirect.js"));
What is the correct way to duplicate the old logic? Thanks.
