Skip to content

Commit 9d6dabc

Browse files
committed
ex-02: provide self ref to NorwegianBlueParrotDelegate
1 parent 2394673 commit 9d6dabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/example-02/birds/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Bird {
2828
case 'AffricanSwallow':
2929
return new AffricanSwallowDelegate(data);
3030
case 'NorwegianBlueParrot':
31-
return new NorwegianBlueParrotDelegate(data);
31+
return new NorwegianBlueParrotDelegate(data, this);
3232
default:
3333
return null;
3434
}

0 commit comments

Comments
 (0)