Use protocol-relative URLs for loading external scripts (i.e. jQuery) so all resource...
authorJack Allnutt <m2ys4u@Gmail.com>
Wed, 28 Sep 2011 07:58:39 +0000 (08:58 +0100)
committerJack Allnutt <m2ys4u@Gmail.com>
Wed, 28 Sep 2011 07:58:39 +0000 (08:58 +0100)
node/client/index.html.jade

index 4b9fc2debcf5248a3cd922d5d4bc0260787492c9..a59c171540ed228f973f04306fa7ee9681a43970 100644 (file)
@@ -101,8 +101,8 @@ html(lang="en-gb")
                                 a.reload_css Reload CSS
 
         script(type="text/javascript", src="/socket.io/socket.io.js")
-        script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js")
-        script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js")
+        script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js")
+        script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js")
         script(type="text/javascript", src="/js/jquery.json-2.2.min.js")
 
         - if (debug)