LeaVerou/prefixfree — Issue #2: Object.defineProperty is non spec compliant.
Author: jdalton
Created: 2011-10-12 15:19:34+00:00
State: open

I noticed you shim `Object.defineProperty` but only partially. This may cause problems w/ 3rd-party code that lazy detects functionality with checks like `if (Object.defineProperty) {`. You own code assumes `Object.defineProperty` has functionality that the shim does not provide *(setting the `enumerable` and `configurable` descriptor attributes). Since the primary use of your shim is for getter/setter why not just abstract those into private util functions.