[Pkg-mozext-commits] [sage-extension] 25/39: feed parsing update

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_1
in repository sage-extension.

commit ad091859ab7047bb423a030cdde74e7ecc7fb9d0
Author: Peter Andrews <petea at jhu.edu>
Date:   Sat May 29 16:42:58 2004 +0000

    feed parsing update
---
 src/sage/content/feedlib.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index 21540cc..69ada4a 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -162,9 +162,9 @@ Feed.prototype.parseATOM = function() {
 
 		var contentNodes = aEntryNode.getElementsByTagName("content");
 		var contentArray = new Array();
-		for(var j = 0; i < contentNodes.length; i++){
-			var contType = contentNodes[i].getAttribute("type");
-			contentArray[contType] = CommonFunc.getInnerText(contentNodes[i]);
+		for(var j = 0; j < contentNodes.length; j++){
+			var contType = contentNodes[j].getAttribute("type");
+			contentArray[contType] = CommonFunc.getInnerText(contentNodes[j]);
 		}
 
 		var summaryNodes = aEntryNode.getElementsByTagName("summary");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list