You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by du...@apache.org on 2013/10/01 23:37:36 UTC

svn commit: r1528223 - /cloudstack/site/trunk/content/index.mdtext

Author: duffy
Date: Tue Oct  1 21:37:36 2013
New Revision: 1528223

URL: http://svn.apache.org/r1528223
Log:
Change JS to use protocol relative urls

Modified:
    cloudstack/site/trunk/content/index.mdtext

Modified: cloudstack/site/trunk/content/index.mdtext
URL: http://svn.apache.org/viewvc/cloudstack/site/trunk/content/index.mdtext?rev=1528223&r1=1528222&r2=1528223&view=diff
==============================================================================
--- cloudstack/site/trunk/content/index.mdtext (original)
+++ cloudstack/site/trunk/content/index.mdtext Tue Oct  1 21:37:36 2013
@@ -183,7 +183,7 @@ function slug(str){
  * File is the rss feed
  */
 function newFeed(id, file) {
- $.getJSON("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?", function(d) {
+ $.getJSON("//query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?", function(d) {
   var count = 0;
   $(d.query.results.feed.entry).each(function() {
     if(maxEntries == 0 || maxEntries>count){
@@ -229,7 +229,7 @@ var maxEvents = 3; // if 0 then there wi
  * File is the rss feed
  */
 function newEventList(id, file) {
- $.getJSON("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?", function(d) {
+ $.getJSON("//query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?", function(d) {
   var count = 0;
   $(d.query.results.feed.entry).each(function() {
     if(maxEvents == 0 || maxEvents>count){