[Prototype-core] Bug in the compressed and formatted code

2007-10-05 Thread xinze
files:protopacked_v2.16b.zip -formatted prototype-1.5.2_pre0.js I found that the function getElementsByClassName in the compression and formatting code could not use in the Firefox Today, I download the file 'protopacked_v2.16b.zip', and replace prototype.js with the compressed code ,

[Prototype-core] Re: Bug in the compressed and formatted code

2007-10-05 Thread xinze
I figured the issue out. if (Prototype.BrowserFeatures.XPath) { document._getElementsByXPath = function(expression, parentElement) { var results = []; var query = document.evaluate(expression, $(parentElement) || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);