Comparing version 0.5.1 to 0.5.2
0.5.1 / 2012-02-05 | ||
================== | ||
* Fixed minor regression: $(...).text(fn) would fail | ||
0.5.1 / 2012-02-05 | ||
================== | ||
* Fixed regression: HTML pages with comments would fail | ||
@@ -5,0 +10,0 @@ |
@@ -42,3 +42,3 @@ var _ = require('underscore'), | ||
// No yet supported | ||
return; | ||
return this; | ||
} else { | ||
@@ -66,3 +66,3 @@ if(!this.children) this.children = []; | ||
// No yet supported | ||
return; | ||
return this; | ||
} else { | ||
@@ -194,5 +194,5 @@ if(!this.children) this.children = []; | ||
// Function support | ||
this.each(function(i) { | ||
return this.each(function(i) { | ||
var self = $(this); | ||
return self.text(textString.call(this, i, self.text())); | ||
return self.text(str.call(this, i, self.text())); | ||
}); | ||
@@ -199,0 +199,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"keywords": ["htmlparser", "jquery", "selector", "scraper"], | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"repository": { | ||
@@ -9,0 +9,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
69180