es-lab
es-lab copied to clipboard
small error in traits.js
in line 82 of traits.js :
http://code.google.com/p/es-lab/source/browse/trunk/src/traits/traits.js#82
it seems the getPrototypeOf fallback implementation is wrong and should really
be:
return obj.prototype;
instead of
return Object.prototype;
Since I didn't try to use the lib yet, I don't know if this cause any problem
though, but I bet it could.
Original issue reported on code.google.com by [email protected] on 30 May 2011 at 7:11