Tuesday, 15 April 2014

javascript - Is it possible to load external js ressources in a jade file? -


I want to call Google API and execute it inside a ZD file. Is it possible to do something like this?

Does any similarity

  include myjs.jade  

but something like this:

  Included https://apis.google.com/js/client.js?onload=init  

my purpose is not included

    

in my HTML but to call Google Shortchers to help create my HTML before serving my HTML. (I do not have to use Google Shortcuts in my HTML.)

In advance thanks

Is there any special reason that you want to inline javascript?

  script (src = "& lt; path to source and gt;")  

No comments:

Post a Comment