I think he meant it as a workaround, not as a bug fix.

Thanks, David!

Cheers,
Andrew

On Jan 10, 11:06 am, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> In other words, you eliminated the cache?
> We would rather fix the problem than lose the cache (and the speed increase
> it provides). You could first try and checkout the library from Subversion
> (described on prototypejs.org/contribute), create the build and open
> test/unit/dom.html in Mozilla. If there really are failing tests, open a new
> ticket in Trac and describe the issue there.
>
> I don't have the chance to test it today, but here are the Mozilla builds
> for those who might wish to test Prototype 
> with:http://www.mozilla.org/releases/
>
> Thank you for the bug report.
>
> - Mislav
>
> On Jan 10, 2008 4:18 PM, David <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello
>
> > New Element('div', {'class': 'test'});
>
> > throw an error with Mozilla 1.7.12 :
>
> > Error : cache has no properties
> > Source File : prototype.js
> > Line : 1565
>
> > I did something like this to make it work :
>
> > (function() {
> >  var element = this.Element;
> >  this.Element = function(tagName, attributes) {
> >    attributes = attributes || { };
> >    tagName = tagName.toLowerCase();
> >    var el=document.createElement(tagName);
> >    Object.keys(attributes).each(function (item) {
> >      el.writeAttribute(item, attributes[item]);
> >    });
> >    return el;
> >  };
> >  Object.extend(this.Element, element || { });
> > }).call(window);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to