Search code examples
javascripthtmlicanhaz.js

External Javascript File with Script tags


I am using a javascript templating framework called ICanHazjs.com.

My questions is can I include tags inside of a external javascript file, and if so is there any downsides / compatibility issues with this?

And if I can't what can I attach that will let me add tags.


Solution

  • ICanHaz supports adding templates at runtime with addTemplate. It's probably your best bet.