0 Replies Latest reply: Mar 20, 2014 3:57 PM by Theo Carper RSS

    A quick question

      How does one load an external js file? When I do the following, it does not appear to load the file:How do I check the file is loaded

       

      (Coffeescript format)

        js_Load = ->

          files = [];

          files.push extensionPath + "leaflet_0_8.js"

          files.push extensionPath + "map.js"

          files.push "http://beta.mapquestapi.com/sdk/leaflet/v0.1/mq-map.js?key=MyAPIKey"

      Qv.LoadExtensionScripts files, ExtensionStart

        js_Load()