@@ -7,31 +7,31 @@ App(new TModel("benchmark", {
7
7
return new TModel ( 'run' , {
8
8
onClick ( ) {
9
9
const rows = this . getParentValue ( 'rows' ) ;
10
- rows . removeAll ( ) . activateTarget ( 'buildData' , 1000 ) . activateTarget ( 'createRows' ) ;
10
+ rows . removeAll ( ) . activateTarget ( 'buildData' , 1000 ) ;
11
11
}
12
12
} ) ;
13
13
} ,
14
14
runAlotButton ( ) {
15
15
return new TModel ( 'runlots' , {
16
16
onClick ( ) {
17
17
const rows = this . getParentValue ( 'rows' ) ;
18
- rows . removeAll ( ) . activateTarget ( 'buildData' , 10000 ) . activateTarget ( 'createRows' ) ;
18
+ rows . removeAll ( ) . activateTarget ( 'buildData' , 10000 ) ;
19
19
}
20
20
} ) ;
21
21
} ,
22
22
addButton ( ) {
23
23
return new TModel ( 'add' , {
24
24
onClick ( ) {
25
25
const rows = this . getParentValue ( 'rows' ) ;
26
- rows . activateTarget ( 'buildData' , 1000 ) . activateTarget ( 'createRows' ) ;
26
+ rows . activateTarget ( 'buildData' , 1000 ) ;
27
27
}
28
28
} ) ;
29
29
} ,
30
30
updateButton ( ) {
31
31
return new TModel ( 'update' , {
32
32
onClick ( ) {
33
33
const rows = this . getParentValue ( 'rows' ) ;
34
- rows . activateTarget ( 'selectLinks' ) . activateTarget ( 'updateEvery10thLink ') ;
34
+ rows . activateTarget ( 'selectEvery10thLink ' ) ;
35
35
}
36
36
} ) ;
37
37
} ,
@@ -65,7 +65,7 @@ App(new TModel("benchmark", {
65
65
_buildData ( ) {
66
66
return buildData ( this . _buildData ) ;
67
67
} ,
68
- _createRows ( ) {
68
+ _createRows$ ( ) {
69
69
this . prevTargetValue . forEach ( ( data , index ) => {
70
70
const $tr = this . val ( 'rowTemplate' ) . cloneTemplate ( ) ;
71
71
$tr . attr ( 'data-id' , `${ index } ` ) ;
@@ -74,7 +74,7 @@ App(new TModel("benchmark", {
74
74
this . $dom . append$Dom ( $tr ) ;
75
75
} ) ;
76
76
} ,
77
- _selectLinks ( ) {
77
+ _selectEvery10thLink ( ) {
78
78
if ( ! this . isPrevTargetUpdated ( ) ) {
79
79
return ( this . val ( this . key ) || [ ] ) ;
80
80
}
@@ -85,7 +85,7 @@ App(new TModel("benchmark", {
85
85
}
86
86
return links ;
87
87
} ,
88
- _updateEvery10thLink ( ) {
88
+ _updateLinks$ ( ) {
89
89
this . prevTargetValue . forEach ( link => link . textContent += ' !!!' ) ;
90
90
} ,
91
91
_swap ( ) {
0 commit comments