Permalink
Browse files

Revert "Reduced memory consumption."

This reverts commit bd74a78.
  • Loading branch information...
PaulMougel committed Oct 9, 2013
1 parent c254d8e commit 89066e7f5913d36912bdf7f50636e37a2f27ebd0
Showing with 3 additions and 0 deletions.
  1. +3 −0 main.js
View
@@ -98,6 +98,7 @@ FeedParser.prototype.init = function (){
};
this._emitted_meta = false;
this.stack = [];
+ this.nodes = {};
this.xmlbase = [];
this.in_xhtml = false;
this.xhtml = {}; /* Where to store xhtml elements as associative
@@ -335,6 +336,8 @@ FeedParser.prototype.handleCloseTag = function (el){
} else {
this.stack[0][stdEl] = [this.stack[0][stdEl], n];
}
+ } else {
+ this.nodes = n;
}
};

0 comments on commit 89066e7

Please sign in to comment.