I have found this:
If I do this, in a global scope : Object.prototype.any_method = function () {} Then Sizzle fails. [ jQuery.1.3.2 (uncompressed) ] 1583: while (expr && set.length) { 1584: for (var type in Expr.filter) { 1585: if ((match = Expr.match[type].exec(expr)) != null) { 1586: var filter = Expr.filter[type], found, item; 1587: anyFound = false; 1588: 1589: if (curLoop == result) { 1590: result = []; 1591: } Line 1585 , causes an exception "Object does not support this property or method". This is because Expr.match[type].exec is "undefined", when type == any_method An it inevitably will become that because of the Object.protoype.any_method "extension" ... In the presence of jQuery (Sizzle) users should be able to add methods to Object prototype, I think ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---