Minor changes to the Sizzle adapter.

This commit is contained in:
Tobie Langel 2009-10-26 02:00:55 +01:00
parent 74ae0a5537
commit 678774cbd6

View File

@ -3,8 +3,9 @@ Prototype._original_property = window.Sizzle;
Prototype.Selector = (function(engine) {
function extend(elements) {
for (var i = 0, length = elements.length; i < length; i++)
elements[i] = Element.extend(elements[i]);
for (var i = 0, length = elements.length; i < length; i++) {
Element.extend(elements[i]);
}
return elements;
}