Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't check for sth. that'll be available if there is no date

  • Loading branch information...
commit b2691b173c7556a4ac6f52cf3ef3e835b4471576 1 parent 994e1fa
@fb55 fb55 authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/nodepie.js
View
4 lib/nodepie.js
@@ -799,9 +799,7 @@ NodePie.Item.prototype.getDate = function(){
* console.log("Updated: " + date.getFullYear());
**/
NodePie.Item.prototype.getUpdateDate = function(){
- var dcns = this.feed.namespaces[NodePie.NS.DC], date;
-
- date = this.element.updated || this.element.modified || (dcns && this.element[dcns+":date"]) || false;
+ var date = this.element.updated || this.element.modified;
if(!date){
// fallback to creation date
Please sign in to comment.
Something went wrong with that request. Please try again.