Wed Oct 27 19:47:16 UTC 2010 pix@kepibu.org
* Don't use the hasClass function.
diff -rN -u old-httpauth/form-to-http-auth.js new-httpauth/form-to-http-auth.js
--- old-httpauth/form-to-http-auth.js 2015-04-17 10:03:36.000000000 +0000
+++ new-httpauth/form-to-http-auth.js 2015-04-17 10:03:36.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|$)/))