[Pkg-mozext-commits] [sage-extension] 06/39: feed parsing update
David Prévot
taffit at moszumanska.debian.org
Fri May 1 03:10:19 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 535f5918e066f1dbeaab14a9ff292d7c56ca896d
Author: Peter Andrews <petea at jhu.edu>
Date: Sat May 29 06:43:59 2004 +0000
feed parsing update
---
src/sage/content/feedlib.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index c7b36b3..73e792b 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -267,10 +267,10 @@ FeedItem.prototype.getLink = function() {
}
FeedItem.prototype.hasContent = function() {
- if(this.content) {
- return true;
- } else {
+ if(!this.content) {
return false;
+ } else {
+ return true;
}
}
@@ -283,10 +283,10 @@ FeedItem.prototype.getContent = function() {
}
FeedItem.prototype.hasPubDate = function() {
- if(this.pubDate) {
- return true;
- } else {
+ if(!this.pubDate) {
return false;
+ } else {
+ return true;
}
}
--
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