It would be quite useful to have the node that is passed to the
'rules' function be already extended (passed through $()).
I'm currently using a very similar bit of code:

var Behaviour = {
        rulesets: [],
        add: function(rules) {
        go: function() {
                Behaviour.rulesets.each(function(ruleset) {
                        $H(ruleset).each(function(pair) {
                                $$(pair.key).each(function(node) {

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to