Recently, I came across some code that was passed down to me from work, and it involves making an api call using head.js:
head.js( { 'application' : 'someurl.com/foo.js' });
I'm curious if this actually registers the javascript asset as application
, so that when I execute
head.load( 'application' );
it will perform the desired action. Unfortunately, I couldn't locate this specific method in the head.js documentation or through a regular search on Google.