[Prototype-core] Re: Number.toPaddedString question.

2007-03-13 Thread Mislav Marohnić
On 3/12/07, Richard Quadling [EMAIL PROTECTED] wrote: I'm not a rails person at all. What do you mean by irregular inflections list? They maintain a list of irregular stuff, like octopus - octopi. The framework also lets you specify your own irregular plurals or to save uncountable words like

[Prototype-core] Re: Number.toPaddedString question.

2007-03-13 Thread Richard Quadling
Aha! Very useful. But the list must be MASSIVE!!! and then different languages use different rules. With the comments made, I can see no need to add them to prototype, though maybe the addCommas method could be useful for instances where nicely formatted numbers is required. On 13/03/07, Mislav

[Prototype-core] suggested documentation update for $$()

2007-03-13 Thread AJ
I would like to suggest a warning or note of importance be added to the documentation on the usage of $$(). It should be noted in the documentation that, unlike other areas in JavaScript, the $$() method actually cares what type of quoting you use (ie single vs double quotes). The selector

[Prototype-core] Re: suggested documentation update for $$()

2007-03-13 Thread Mislav Marohnić
On 3/13/07, AJ [EMAIL PROTECTED] wrote: So the following will return nothing var elems = $$(label[for='someId']); In 1.5.1 it doesn't matter anymore, single or double quotes. That kinda breaks W3C specs, but hey - rules are meant to be broken :) But if the above query fails in 1.5.0

[Prototype-core] Re: suggested documentation update for $$()

2007-03-13 Thread Christophe Porteneuve
Marius Feraru a écrit : Could you please explain why do you think this breaks W3C specs, as I cannot see it, neither at level 3 [1], nor at level 2 [2]? TIA. Indeed, this doesn't break the specs. Lexical scanning clearly states that both single and double quotes can be used. Which is why I

[Prototype-core] WebKit version

2007-03-13 Thread seb
I like the new Prototype.Browser for browser detection. As I am working on a SVG application, I need to know WebKit version as webkit version 420 does not handle SVG. It will be great to have something like Prototype.Browser.WebkitVersion or even simplier Prototype.Browser.Webkit could be 0 or

[Prototype-core] WebKit version

2007-03-13 Thread seb
I like the new Prototype.Browser for browser detection. As I am working on a SVG application, I need to know WebKit version as webkit version 420 does not handle SVG. It will be great to have something like Prototype.Browser.WebkitVersion or even simplier Prototype.Browser.Webkit could be 0 or