Prototype 1.5.1, release candidate 1. This one contains my complete $$
overhaul, so if you query by CSS selector at all then you need to download this right now. Once 1.5.1 gets a final release (and when I’m once again sober) I’ll write a lot more about this.
Comments
This looks like a very good release. The XPath parser looks awesome.
Two things:
Array.prototype.concat
?There seems to be something weird about the title: this article is on 1.5.1rc1, right? But it’s titled 1.5.0rc1.
It’s nice to see that there’s finally a centralized browser detection variable. That way there won’t be
/Konqueror|Safari|KHTML/.test(navigator.userAgent)
running all over the place.Way to go for the native JSON support! Although it might be safer for
.toJSON(true)
to be the default setting.I have to say this has nothing to do with 1.5.1_rc1, but I really really really want to see
Event
methods actually being extended on event objects that are passed to event handler functions. It’s painfully silly to doEvent.stop(event)
.@Dean: Are you sure we overwrite
Array.prototype.concat
? I defineSelector.handlers.concat
for fast joining of DOM collections, but I don’t think we touch native array concatenation.And, yeah, I need to trim all the Scriptaculous stuff I don’t use on this site. Thanks for the prod.
@Kourge: Yeah, I fucked up on the title of the post. And the events stuff you’re asking for is being worked on — there’s an “events” branch in trunk that holds the in-progress code.
My mistake. You overwrite
Array.prototype.concat
for Opera only. You do overwritemap
though. Ignore my nitpickings, like I said this looks like a great release,Yup, found the event spinoff at Rails Trac. Awwwwwesome.