[Prototype-core] SV: [Prototype-core] Re: Prototype and JavaScript 1.6 Array methods

2007-07-17 Thread Tobias Haagen Michaelsen
Fra: prototype-core@googlegroups.com [mailto:[EMAIL PROTECTED] På vegne af Mislav Marohnic Sendt: 10. juli 2007 12:38 On 7/10/07, Tobie Langel [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Your post just triggered a commit (http://dev.rubyonrails.org/

[Prototype-core] Line 2268 in 1.5.1.1 Messes up syntax highlighting in DW

2007-07-17 Thread Billes
Just downloaded prototype 1.5.1.1 and noticed that Selector.patterns.attr (line 2268) messes up the syntax highlighting in Dreamweaver. Haven't tested any other editors, but the problem is easily fixed (in theory, i'm no regex expert) by changing it from:

[Prototype-core] Re: Assigning an unique ID

2007-07-17 Thread Ryan Gahl
If this does make it to core, I would then also suggest allowing the developer to specify the prefix of the ID (default to uniqueId). Optionally, go so far as to track a separate incremented value per new prefix, allowing the dev to essentially set up element groups. This would be considered like

[Prototype-core] Re: Assigning an unique ID

2007-07-17 Thread Jeff Watkins
Ryan, that's a great idea. Although I don't anticipate using it often, I can easily see how this would be indispensable in some circumstances. On Jul 17, 2007, at 6:32 AM, Ryan Gahl wrote: If this does make it to core, I would then also suggest allowing the developer to specify the

[Prototype-core] Re: Assigning an unique ID

2007-07-17 Thread Tobie Langel
Pretty funny I actually ended up needing this very feature two days later... Anyway, working on a patch for it. Jeff, Ryan: could you give me a use case for the scoped prefixes ? My intial thought is to think they're overkill / too specific... but I don't mind being prooved wrong. I'm also