I have various jquery snippets that I want ready access to so I have them in one template within EE. (These are separate and apart from full-fledged js which are not contained within EE.)
I don’t want accesses to count as template hits. Do I…
—create a template consisting of everything from opening script tag to closing script tag and then embed it using the syntax {embed="myjs/somescripting"} OR
—create a template consisting of just the meaty part and then link to it using the syntax [script type=“text/javascript” src=”{path="myjs/somescripting"}”][/script]
And when does one set the template type to Javascript?