> > ~"BODY.HEAD.WHATEVER".indexOf(nodeName) could be even faster (core static
To elminate false positives, you'll have to pad the tagName with
delmimeters, like so:
~".body.head.whatever.".indexOf('.'+nodeName.toLowerCase()+'.')
...and the last time I benchmarked, this whole thing was *way* slower
than a static RegExp.
--
Már Örlygsson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---