commit | 72bf188342a06d4c96a4b4a1be37bcd3f1ede6dc | [log] [tgz] |
---|---|---|
author | Johan Compagner <jcompagner@gmail.com> | Tue Feb 18 12:55:48 2014 +0100 |
committer | Johan Compagner <jcompagner@gmail.com> | Tue Feb 18 13:07:13 2014 +0100 |
tree | 7d0f5b9b96ed04fa6fddde5d12b7ffffe1087d25 | |
parent | f15fa85b854aaf1b7366418b74c9140f868165ca [diff] |
the prototype given in the Object.create(SomeObject.prototype) should really be a copy Else overrrides on the sup object will change the original Problem is that changing the supers prototype after the sub created a copy is not seen anymore.