Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update jQuery

  • Loading branch information...
commit 97f7a322b0748c49e6b5b14aaf6bbebb56a5c038 1 parent e8030a4
@mape authored
Showing with 3 additions and 4,379 deletions.
  1. +0 −4,376 deps/jquery-1.3.2.js
  2. +2 −2 lib/scraper.js
  3. +1 −1  package.json
View
4,376 deps/jquery-1.3.2.js
0 additions, 4,376 deletions not shown
View
4 lib/scraper.js
@@ -54,7 +54,7 @@ module.exports = function scrape(requestOptions, callback, fetchOptions) {
}
if (response && response.statusCode == 200) {
var window = jsdom.jsdom().createWindow();
- jsdom.jQueryify(window, __dirname+'/../deps/jquery-1.3.2.js', function(win, $) {
+ jsdom.jQueryify(window, __dirname+'/../deps/jquery-1.6.1.min.js', function(win, $) {
$('head').append($(body).find('head').html());
$('body').append($(body).find('body').html());
callback(null, $);
@@ -82,4 +82,4 @@ module.exports = function scrape(requestOptions, callback, fetchOptions) {
queue.shift();
}
}
-};
+};
View
2  package.json
@@ -1,7 +1,7 @@
{
"name" : "scraper",
"description" : "Easier web scraping using jQuery.",
- "version" : "0.0.8",
+ "version" : "0.0.9",
"author" : "Mathias Pettersson <mape@mape.me>",
"engines" : ["node"],
"directories" : { "lib" : "./lib" },
Please sign in to comment.
Something went wrong with that request. Please try again.