Skip to content

Commit

Permalink
removed unnecessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Sep 17, 2011
1 parent d552da2 commit c95e069
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/nodepie.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ NodePie.prototype.init = function(){
* title = np.getTitle(); * title = np.getTitle();
**/ **/
NodePie.prototype.getTitle = function(){ NodePie.prototype.getTitle = function(){
var title = this.channelElement.title; return this._parseContents(this.channelElement.title);
return this._parseContents(title);
}; };


/** /**
Expand Down Expand Up @@ -334,11 +333,11 @@ NodePie.prototype.getEncoding = function(){
* np.init(); * np.init();
* description = np.getDescription(); * description = np.getDescription();
**/ **/
NodePie.prototype.getDescription = function(){ NodePie.prototype.getDescription = function(){
var description = this.channelElement.description || this.channelElement.subtitle || return this._parseContents(
this.channelElement.tagline; this.channelElement.description || this.channelElement.subtitle ||

this.channelElement.tagline
return this._parseContents(description); );
}; };


/** /**
Expand Down

0 comments on commit c95e069

Please sign in to comment.