Displaying 2 results from an estimated 2 matches for "has_ani".
Did you mean:
hasani
2005 Aug 21
0
Patch for Element.Class - wrong regexp
Hello,
I noticed (due to a recent post by Martin Honnen to clp) that
Element.Class uses wrong regexps for its operations.
E.g., Element.Class.has() will find "classA" in "classA-foobar"
I also changed the interface of .has() to the more general one used in
.has_any()
--- util.js.old 2005-08-21 19:18:40.000000000 +0200
+++ util.js 2005-08-21 19:31:42.000000000 +0200
@@
2005 Nov 24
1
Extended $ function called $$
This code lets you use standard CSS selectors to get an array of elements.
For example, $$("#container div.myElements") would return all subelements of
#container that are divs and are of the class myElements.
I submitted similar code a while back to the email address for the prototype
library but never got a reply. Thought I''d post this in the hopes that some
others will find