Commit 75368c04 authored by Robert Smith's avatar Robert Smith
Browse files

Moved DataElement to its own file



Moved the typescript DataElement class to its own file.
Signed-off-by: Robert Smith's avatarRobert Smith <smithrw@ornl.gov>
parent dd0c3874
/**
* Tasks:
*
* *Move DataElement<T> to its ts file. It would be really nice to put this in the data structures project since it shadows a class there.
* *Add a unit test?
*/
export class DataElement<T> {
name: string;
description: string;
data!: T;
constructor() {
this.name = 'name';
this.description = 'description';
}
}
\ No newline at end of file
import {css, customElement, html, LitElement, property} from 'lit-element';
import '@vaadin/vaadin-text-field';
/**
* Tasks:
*
* *Move DataElement<T> to its ts file. It would be really nice to put this in the data structures project since it shadows a class there.
* *Add a unit test?
*/
export class DataElement<T> {
name: string;
description: string;
data!: T;
constructor() {
this.name = 'name';
this.description = 'description';
}
}
import { DataElement } from './data-element'
/**
* Tasks:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment