grunt-link-checker
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "grunt-link-checker", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Finds broken links and resources on websites", | ||
@@ -5,0 +5,0 @@ "main": "tasks/link-checker.js", |
@@ -32,4 +32,9 @@ # grunt-link-checker | ||
### Using options | ||
### Custom options | ||
#### noFragment | ||
Type: `Boolean` Default: `false` | ||
Set this to true to speed up your test by not verfiying fragments. | ||
### simple-crawler options | ||
Every option specified in the node-simplecrawler is available: | ||
@@ -36,0 +41,0 @@ |
@@ -52,2 +52,5 @@ /* | ||
grunt.log.debug('Fetched: ' + queueItem.url); | ||
if (options.noFragment) { | ||
return; | ||
} | ||
var html = responseBuffer.toString(); | ||
@@ -54,0 +57,0 @@ var $ = cheerio.load(html); |
6462
69
48