[Prototype-core] Re: General global element events and prototype 1.6.0_rc0

2007-08-20 Thread Viktor Kojouharov
I currently do this: Event.DOMEvents.push((Prototype.Browser.Gecko) ? 'DOMMouseScroll' : 'mousewheel'); when I define my custom signalConnect functions, so that the mousewheel event will work. Thought I'd like for this and the enter/ leave events to be integrated, so that I can remove this

[Prototype-core] Re: General global element events and prototype 1.6.0_rc0

2007-08-20 Thread Mislav Marohnić
On 8/20/07, kangax [EMAIL PROTECTED] wrote: I did something similar for my context menu script. Since 1.6.0_rc0 does not have 'contextmenu' event and latest build in a trunk does, I worked around it like so: Simply use trunk until the 1.6.0 final release.

[Prototype-core] Re: General global element events and prototype 1.6.0_rc0

2007-08-20 Thread Mislav Marohnić
On 8/20/07, kangax [EMAIL PROTECTED] wrote: Of course, but if it's a public extension Oh, didn't realize this. Well, yeah, you can do these tiny conditional hacks. I hope we release the final soon --~--~-~--~~~---~--~~ You received this message because you are

[Prototype-core] Error/counter-intuitive Class-inheritance?

2007-08-20 Thread Somebee
When you push values into an array on an object, the values of the class/prototype-array is also changed. http://pastie.caboo.se/89295 - example Is this how it is supposed to work? If so, it seems very odd and counter-intuitive to me. Best Regards Sindre

[Prototype-core] Re: 1.6 release; suggestion for templates

2007-08-20 Thread Andriy Mykhaylyuk
Yes, I completely agree with you. And what are you think about the edit behaviors for data to be added in prototype, the same as in Ext - http://extjs.com/ They have great inline editing for a grid. What do you think about adding this feature ? On Aug 20, 5:37 pm, Mislav Marohnić [EMAIL

[Prototype-core] Re: 1.6 release; suggestion for templates

2007-08-20 Thread Ken Snyder
Andriy Mykhaylyuk wrote: Hello guys, thanx for update, and my congratulations, looks like a lot of people loves new updates. And I have a feature suggestion for templates system. That will be great if templates will support some sort of cycles with internal templates or table building.

[Prototype-core] Re: Error/counter-intuitive Class-inheritance?

2007-08-20 Thread Mislav Marohnić
On 8/20/07, Somebee [EMAIL PROTECTED] wrote: When you push values into an array on an object, the values of the class/prototype-array is also changed. You've been bitten by the fact the array is copied by reference, not by value. You should be setting the initial value for instance variables

[Prototype-core] Re: Error/counter-intuitive Class-inheritance?

2007-08-20 Thread Sam Stephenson
On Aug 20, 2007, at 11:51 AM, Mislav Marohnić wrote: You've been bitten by the fact the array is copied by reference, not by value. You should be setting the initial value for instance variables in the constructor: http://pastie.caboo.se/89338 I'm not sure if this is something we should

[Prototype-core] Re: Fisheye control for prototype.

2007-08-20 Thread Matt Foster
That is a very keen observation, well kind of, the bounce certainly catches my eyes. I believe this is in FF only. A solution is to set the Fish Eye Toolbar's position to absolute, such that its children are not equated in the document flow, thus when the animation occurs it has no factor on

[Prototype-core] Re: Enumerable.pluck()-like setter

2007-08-20 Thread Tom Gregory
On Aug 17, 2007, at 12:22 AM, Mislav Marohnić wrote: It's nice to hear about how all of you solved the problem of collection attribute assignment, but the variety of solutions shows that this is very app-specific (IMO). I won't argue against not including (invoke-ing writeAttribute