Fixed issue #19 #20

Merged
merged 1 commit into from Jun 11, 2011

Conversation

Projects
None yet
2 participants
Contributor

Raynos commented Jun 11, 2011

See issue #19

Contributor

Raynos commented Jun 11, 2011

I'm also an idiot and didn't think of linking this to issue 19 >_<

Contributor

Raynos commented Jun 11, 2011

Guess it's also nice to have somewhere to reproduce this : (Try it in a non - ES5 browser)

http://raynos.github.com/jQuery-plugin-scaffolding/tests/test.html?notrycatch=true

The code breaks if your call object.defineProperty with a function as an object since it doesn't allow descriptor to be a function and throws an error when object is a function.

kriskowal added a commit that referenced this pull request Jun 11, 2011

@kriskowal kriskowal merged commit 7d4aecd into es-shims:master Jun 11, 2011

Member

kriskowal commented Jun 11, 2011

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment