Skip to content

Commit

Permalink
Added V10Engine class that extends React.Component
Browse files Browse the repository at this point in the history
It's not used anywhere but will NOT be removed by tree shaking.
  • Loading branch information
cdeutsch committed Sep 27, 2017
1 parent e74a871 commit cc37b70
Show file tree
Hide file tree
Showing 7 changed files with 9,478 additions and 91 deletions.
12 changes: 12 additions & 0 deletions app/engine.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as React from 'react';

export interface Engine {
toString(): string;
}
Expand All @@ -14,6 +16,16 @@ export class V8Engine implements Engine {
}
}

export class V10Engine extends React.Component<{}, {}> implements Engine {
toString() {
return 'V10';
}

render() {
return null;
}
}

export function getVersion() {
return '1.0';
}

0 comments on commit cc37b70

Please sign in to comment.