Don't use the hasClass function.
form-to-http-auth.js
Wed Oct 27 19:47:16 UTC 2010 pix@kepibu.org
* Don't use the hasClass function.
--- old-httpauth/form-to-http-auth.js 2015-04-15 14:59:21.000000000 +0000
+++ new-httpauth/form-to-http-auth.js 2015-04-15 14:59:21.000000000 +0000
@@ -1,7 +1,4 @@
(function () {
- function hasClass(node,className) {
- return node.className.match(new RegExp('(\\s|^)'+className+'(\\s|$)'));
- }
function form2httpAuth () {
/* Skip if the browser indicates it does this itself. */
if (this.className.match(/(\\s|^)natively-supported(\\s|$)/))