]> source.dussan.org Git - jquery.git/commitdiff
Remove unnecessary regex
authortimmywil <timmywillisn@gmail.com>
Thu, 4 Aug 2011 22:14:35 +0000 (18:14 -0400)
committertimmywil <timmywillisn@gmail.com>
Thu, 4 Aug 2011 22:16:15 +0000 (18:16 -0400)
src/attributes.js

index 9a35c045b85d50e8388b1555ea3d1b4359c755c8..d92729ad23b242b68402cccb09111ceccb4fbcda 100644 (file)
@@ -7,7 +7,6 @@ var rclass = /[\n\t\r]/g,
        rfocusable = /^(?:button|input|object|select|textarea)$/i,
        rclickable = /^a(?:rea)?$/i,
        rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
-       rinvalidChar = /\:|^on/,
        nodeHook, boolHook;
 
 jQuery.fn.extend({