Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
camargo committed Mar 6, 2017
1 parent f8747fb commit cef9066
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/GlPlot2dComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ export class GlPlot2dComponent extends skate.Component<GlPlot2dComponentProps> {
*/
static get props(): skate.ComponentProps<GlPlot2dComponent, GlPlot2dComponentProps> {
return {
// Custom.
name: skate.prop.string({ attribute: true }),
debug: skate.prop.boolean({ attribute: true }),
height: skate.prop.string({ attribute: true }),
width: skate.prop.string({ attribute: true }),

// Specific to gl-plot2d.
plotOptions: skate.prop.object<GlPlot2dComponent, GlPlot2dOptions>({ attribute: true })
};
}
Expand Down
5 changes: 1 addition & 4 deletions src/GlPlot2dComponentProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ import { GlPlot2dOptions } from './';
* @interface GlPlot2dComponentProps
*/
export interface GlPlot2dComponentProps {
// Custom.
name: string;
debug: boolean;
height: string;
width: string;

// Specific to gl-plot2d.
plotOptions: GlPlot2dOptions;
plotOptions: GlPlot2dOptions; // Specific to gl-plot2d.
}

0 comments on commit cef9066

Please sign in to comment.