Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5656302898380800: Issue 260 - [Typed objects] Implement type inheritance (Closed)

Created:
April 22, 2014, 3:31 p.m. by Wladimir Palant
Modified:
May 12, 2014, 9:54 a.m.
Reviewers:
René Jeschke
CC:
Felix Dahlke, tschuster
Visibility:
Public.

Description

Issue 260 - [Typed objects] Implement type inheritance

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed inheritance of non-overridden constructors #

Total comments: 2

Patch Set 3 : Renamed isinstance to isInstance #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -45 lines) Patch
M lib/typedObjects.js View 1 chunk +34 lines, -0 lines 0 comments Download
M lib/typedObjects/objectTypes.js View 1 2 1 chunk +92 lines, -11 lines 0 comments Download
M lib/typedObjects/references.js View 1 chunk +18 lines, -17 lines 0 comments Download
M lib/typedObjects/utils.js View 1 chunk +6 lines, -3 lines 0 comments Download
M test/tests/typedObjects.js View 1 2 1 chunk +149 lines, -14 lines 0 comments Download

Messages

Total messages: 6
Wladimir Palant
April 22, 2014, 3:32 p.m. (2014-04-22 15:32:04 UTC) #1
Wladimir Palant
Forgot to add Felix and Tom to CC, done that now.
April 22, 2014, 7:21 p.m. (2014-04-22 19:21:30 UTC) #2
Wladimir Palant
http://codereview.adblockplus.org/5656302898380800/diff/5629499534213120/lib/typedObjects/objectTypes.js File lib/typedObjects/objectTypes.js (right): http://codereview.adblockplus.org/5656302898380800/diff/5629499534213120/lib/typedObjects/objectTypes.js#newcode219 lib/typedObjects/objectTypes.js:219: } The logic here was wrong: if no constructor ...
April 28, 2014, 7:03 a.m. (2014-04-28 07:03:37 UTC) #3
René Jeschke
Just the 'isInstance' issue, rest: LGTM http://codereview.adblockplus.org/5656302898380800/diff/5724160613416960/lib/typedObjects/objectTypes.js File lib/typedObjects/objectTypes.js (right): http://codereview.adblockplus.org/5656302898380800/diff/5724160613416960/lib/typedObjects/objectTypes.js#newcode246 lib/typedObjects/objectTypes.js:246: isinstance: fixedPropertyDescriptor(isinstance.bind(null, typeId)), ...
May 2, 2014, 4:16 p.m. (2014-05-02 16:16:37 UTC) #4
Wladimir Palant
http://codereview.adblockplus.org/5656302898380800/diff/5724160613416960/lib/typedObjects/objectTypes.js File lib/typedObjects/objectTypes.js (right): http://codereview.adblockplus.org/5656302898380800/diff/5724160613416960/lib/typedObjects/objectTypes.js#newcode246 lib/typedObjects/objectTypes.js:246: isinstance: fixedPropertyDescriptor(isinstance.bind(null, typeId)), On 2014/05/02 16:16:37, René Jeschke wrote: ...
May 2, 2014, 7:14 p.m. (2014-05-02 19:14:30 UTC) #5
René Jeschke
May 12, 2014, 9:26 a.m. (2014-05-12 09:26:19 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld