[Prototype-core] Re: Bug?

2007-08-23 Thread Richard Quadling
Using FF and/or the patch previously mentioned and no requests are made. On 22/08/07, Mislav Marohnić [EMAIL PROTECTED] wrote: On 8/22/07, Wiktor Ihárosi [EMAIL PROTECTED] wrote: I think Sam had reason to write this. I reread Dean Edwards's - who else? :) - post about the window.onload and

[Prototype-core] Re: Date prototype functions [BUMP]

2007-08-23 Thread Richard Quadling
I think many users would be grateful of having additional libraries/plugins like this. Whilst not necessarily part of the core, having them logged and available from prototype.js (with all the usual test cases) would be a nice idea. Libraries/snippets could/would have peer review for conforming

[Prototype-core] Re: Bug?

2007-08-23 Thread Richard Quadling
On 23/08/07, Mislav Marohnić [EMAIL PROTECTED] wrote: On 8/23/07, Richard Quadling [EMAIL PROTECTED] wrote: Using FF and/or the patch previously mentioned and no requests are made. Can you please try src=//: ... like in Base2 and see if there are requests. Thanks Being a numpty, my

[Prototype-core] Re: Bug?

2007-08-23 Thread Mislav Marohnić
On 8/23/07, Richard Quadling [EMAIL PROTECTED] wrote: This needs to become what? I don't know what Base2 is (sorry). document.write(script id=__onDOMContentLoaded defer src=//:\/script); --~--~-~--~~~---~--~~ You received this message because you are

[Prototype-core] Array inline filtering.

2007-08-23 Thread Richard Quadling
Hi. I've just created a small function to filter an array. Sort of the reverse of each+without. /* Version 1.0.0 - Thursday, 23 August 2007 10:25 am */ Object.extend ( Array.prototype, { /***/ /* Allow inline filtering

[Prototype-core] Re: Bug?

2007-08-23 Thread Richard Quadling
On 23/08/07, Mislav Marohnić [EMAIL PROTECTED] wrote: On 8/23/07, Richard Quadling [EMAIL PROTECTED] wrote: This needs to become what? I don't know what Base2 is (sorry). document.write(script id=__onDOMContentLoaded defer src=//:\/script); Works fine in IE7 and FF using 1.6.0_rc0. No

[Prototype-core] Re: Bug?

2007-08-23 Thread Wiktor Ihárosi
On Aug 23, 11:35 am, Richard Quadling [EMAIL PROTECTED] wrote: document.write(script id=__onDOMContentLoaded defer src=//:\/script); Works fine in IE7 and FF using 1.6.0_rc0. No requests made. Great! :) ps: I obviously meant //: when I wrote ://. sorry for the typo...

[Prototype-core] Re: Bug?

2007-08-23 Thread Richard Quadling
On 23/08/07, Wiktor Ihárosi [EMAIL PROTECTED] wrote: On Aug 23, 11:35 am, Richard Quadling [EMAIL PROTECTED] wrote: document.write(script id=__onDOMContentLoaded defer src=//:\/script); Works fine in IE7 and FF using 1.6.0_rc0. No requests made. Great! :) ps: I obviously meant //:

[Prototype-core] Re: Bug?

2007-08-23 Thread Wiktor Ihárosi
On Aug 23, 2:03 pm, Richard Quadling [EMAIL PROTECTED] wrote: That's now generating requests. I think I was not clear enough. The correct and working syntax is //: which Mislav mentioned. In my first letter I made a typo, but Mislav wrote the correct syntax for you. He is right,

[Prototype-core] Re: Bug?

2007-08-23 Thread Richard Quadling
On 23/08/07, Wiktor Ihárosi [EMAIL PROTECTED] wrote: On Aug 23, 2:03 pm, Richard Quadling [EMAIL PROTECTED] wrote: That's now generating requests. I think I was not clear enough. The correct and working syntax is //: which Mislav mentioned. In my first letter I made a typo, but Mislav

[Prototype-core] Re: Array inline filtering.

2007-08-23 Thread Jeff Watkins
Richard, this seems similar to the standard js 1.6 Array.prototype.filter method. You might be well advised to look at the Mozilla MDC site for example code that does this. On Aug 23, 2007, at 2:32 AM, Richard Quadling [EMAIL PROTECTED] wrote: Hi. I've just created a small function to

[Prototype-core] Re: Array inline filtering.

2007-08-23 Thread Richard Quadling
Ah. My CHM is upto 1.5 which is why I didn't see it. On 23/08/07, Jeff Watkins [EMAIL PROTECTED] wrote: Richard, this seems similar to the standard js 1.6 Array.prototype.filter method. You might be well advised to look at the Mozilla MDC site for example code that does this. On Aug 23,

[Prototype-core] Re: Date prototype functions [BUMP]

2007-08-23 Thread Nicolás Sanguinetti
As soon as I get some free time from work, I'll rewrite a lot of active support for js (http://code.google.com/p/active-support-for-javascript), including all necessary adjustments to work well with 1.6 (like removing the interpolation methods, which are now useless :)) Best regards, -Nicolas On

[Prototype-core] Event.element() bug posted to Rails trac

2007-08-23 Thread Pete Forde
Howdy! http://dev.rubyonrails.org/ticket/9358 I'm pretty sure that Event.element() is misbehaving. Thoughts? Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group,

[Prototype-core] Date prototype functions [BUMP]

2007-08-23 Thread Ken Snyder
Mislav Marohnic' wrote: ... Ken, these are nice and certainly useful, but I don't think most of the people have a need for them. Most of the heavy-duty date/time logic should be kept in your application (server-side). But I'll let other core members speak for themselves. You're

[Prototype-core] Re: Inheritance: your thoughts?

2007-08-23 Thread Alex Arnell
On Aug 22, 2:11 pm, Mislav Marohnić [EMAIL PROTECTED] wrote: On 8/22/07, ben [EMAIL PROTECTED] wrote: Anyway, to each his own. I'm guessing your friends balked at the self.prototype.instanceMethod = function() {...} syntax. That bit can be improved, I think. If you use the closure