Bug : http://jsfiddle.net/jkegJ/2/
Related github issue : https://github.com/nrstott/traits.js/pull/1
It would appear that getter/setter's on Object.prototype are broken when using
`map[name] = pd`
at
http://code.google.com/p/es-lab/source/browse/trunk/src/traits/traits.js#272
Replacing it with a `defineProperty` call on `map` makes the bug dissapear.
Original issue reported on code.google.com by Raynos2@gmail.com on 21 Aug 2011 at 3:45
Original issue reported on code.google.com by
Raynos2@gmail.comon 21 Aug 2011 at 3:45