Hi all, I'm doing a session at railsconf europe about functional javascript with prototype - and I thought I might write up some articles on the same topic. Anyone have any requests or favourite snippets of functoinalish code they'd like me to elucidate upon for the benefit of all?
Some of my favourites: Element.succ = ...; $R(this.startElement, this.endElement).function(el){ el.addClassName('selected'); }); Builder.node('div', {class:'calendar'}, $R(1..31).map(function(i){ Builder.node('div', i) }); -- Regards, Ben Nolan http://bennolan.com/ skype: bennolan cell: +49 1577 383 7542 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---