On Jan 8, 5:52 am, "T.J. Crowder" <t...@crowdersoftware.com> wrote:

[snip excellent reply]

> (And yes, lurking pedants, I could have avoided repeating "ClassName"
> in that, at the expense of readability and maintainability IMHO.)

No, that would be just silly : )
On the other hand, I'm quite fond of:

function(e, el) {
  if (el = e.findElement('cssExpression')) {
    // do stuff with el
  }
}

>
> [1]http://www.prototypejs.org/api/utility/dollar-dollar
> [2]http://www.w3.org/TR/css3-selectors/#attribute-substrings
> [3]http://www.prototypejs.org/api/enumerable/invoke
> [4]http://www.prototypejs.org/api/function/defer
>
> HTH,
> --
> T.J. Crowder
> tj / crowder software / com

[...]

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to