jquery/sizzle — pull request #109 by RGustBardon (2012-06-17 11:48:47+00:00)
Title: Eliminate reliance on free variables

This patch allows Sizzle to work when the properties of the global
object (i.e. Object, Math, Date, RegExp, and Error) are shadowed.

Since the Error constructor is used only to report syntax errors and
it cannot be accessed without relying on a free variable,
window.Error, Object.getPrototypeOf, or accessing
prototype.__proto__.constructor of a NativeError, it has been replaced
by a recreatable SyntaxError.

(new Date()).getTime() has been substituted by Math.random() and a
stub for Math.random has been added in case Math is shadowed.