[Prototype-core] Re: TestCase - the Prototype based unit-testing library

2008-01-24 Thread Thomas Fuchs
Nice, especially the event stuff! Still, i think it's a bit of reinventing the wheel, as unittest.js that comes with Prototype/scripty supports automated browser tests (runs all installed browsers against all tests...). It would be great if we can merge the event raise code into the existin

[Prototype-core] Conflict 1.6 with Virtual Earth in FireFix

2008-01-24 Thread Sergey
It likes like the latest (1.6) Prototype has a conflict with MS Virtual Earth. The labels on the control panel are hidden in FireFix. This is a short code that demonstrate the problem: Prototype.js vs. Virtual Earth http://www.prototypejs.org/assets/2007/11/6/ prototype.js"> h

[Prototype-core] Element.update on images. Bug or Feature Request?

2008-01-24 Thread dynamo517
I am using prototype version 1.6.0. Currently when updating typical (e.g. SPAN, DIV, TD, etc.) DOM elements, a simple $('div1').update('new text'); would update the text of the element. That's fine, but what about images? If I do that with an image tag, I would hope to be updating the src, bu

[Prototype-core] Re: Element.update on images. Bug or Feature Request?

2008-01-24 Thread Nicolás Sanguinetti
The thing is that someone who knows Prototype knows that update changes the innerHTML of an element. If another programmer sees your code and sees you're updating an image, he'll be a little puzzled :) If you use image.src = path, or image.setAttribute("src", path) or image.writeAttribute("src",