mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Clean up regexen; use common regex for numbers. Close gh-862.
This commit is contained in:
committed by
Dave Methvin
parent
74cc5b0984
commit
c14a6b385f
@@ -1,9 +1,9 @@
|
||||
var nodeHook, boolHook, fixSpecified,
|
||||
rclass = /[\n\t\r]/g,
|
||||
rclass = /[\t\r\n]/g,
|
||||
rreturn = /\r/g,
|
||||
rtype = /^(?:button|input)$/i,
|
||||
rfocusable = /^(?:button|input|object|select|textarea)$/i,
|
||||
rclickable = /^a(?:rea)?$/i,
|
||||
rclickable = /^a(?:rea|)$/i,
|
||||
rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
|
||||
getSetAttribute = jQuery.support.getSetAttribute;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user