Comparing version 1.0.1 to 1.1.0
@@ -1,2 +0,2 @@ | ||
/* globals document, window */ | ||
/* globals window */ | ||
'use strict'; | ||
@@ -17,2 +17,3 @@ | ||
reporter: opts.reporter, | ||
htmlcs: opts.htmlcs, | ||
timeout: opts.timeout, | ||
@@ -107,7 +108,3 @@ debug: opts.debug | ||
self.reporter.log('Loading HTML CodeSniffer...'); | ||
self.page.evaluate(function () { | ||
var script = document.createElement('script'); | ||
script.src = 'http://squizlabs.github.com/HTML_CodeSniffer/build/HTMLCS.js'; | ||
document.head.appendChild(script); | ||
}, function () { | ||
self.page.includeJs(self.htmlcs, function () { | ||
wait(self.page, function () { | ||
@@ -114,0 +111,0 @@ return (typeof window.HTMLCS !== 'undefined'); |
{ | ||
"name": "pa11y", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
@@ -5,0 +5,0 @@ "description": "pa11y is your automated accessibility testing pal", |
@@ -7,3 +7,3 @@ pa11y | ||
**Current Version:** *1.0.1* | ||
**Current Version:** *1.1.0* | ||
**Node Version Support:** *0.10* | ||
@@ -50,3 +50,5 @@ | ||
-s, --standard <name> specify a standard to use, one of: Section508, WCAG2A, WCAG2AA (default), WCAG2AAA | ||
-c, --htmlcs <url> specify a URL to source HTML_CodeSniffer from. Default: squizlabs.github.io | ||
-t, --timeout <ms> specify the number of milliseconds before a timeout error occurs. Default: 30000 | ||
-d, --debug output debug messages | ||
@@ -53,0 +55,0 @@ ``` |
@@ -19,3 +19,3 @@ 'use strict'; | ||
app.get('/invalid', function (req, res) { | ||
res.redirect('http://thishadbetternotbearealhost/'); | ||
res.redirect('http://localhost:12345678/thishadbetternotbearealurl'); | ||
}); | ||
@@ -22,0 +22,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64776
143
695