Skip to content

Commit 1d64116

Browse files
committed
Clean up Text a bit.
1 parent 1605c54 commit 1d64116

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dev/src/views/Text.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,9 @@ export default class Text extends EventDispatcher {
5454
}
5555

5656
set tests(val) {
57-
// TODO: determine if it's the same tests. If not, then clear selection.
5857
val = val instanceof Array ? val : [];
5958
this._tests = this.testList.data = val;
6059
this._testMatches = null;
61-
// this._selTest = null;
62-
//if (val.length) { this.testList.selected = val[0].id; }
6360
this._reselectTest();
6461
}
6562

@@ -367,7 +364,7 @@ export default class Text extends EventDispatcher {
367364

368365
_addTest() {
369366
const o = {
370-
id: "t"+UID.id,
367+
id: UID.id,
371368
name: "",
372369
text: "Enter your test text here.",
373370
type: "any"

0 commit comments

Comments
 (0)