es-lab icon indicating copy to clipboard operation
es-lab copied to clipboard

small error in traits.js

Open GoogleCodeExporter opened this issue 11 years ago • 0 comments

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

GoogleCodeExporter avatar Mar 16 '15 20:03 GoogleCodeExporter