This repository was archived by the owner on Jan 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 103
103
textParameter . language = myscriptTextWebElement . language ;
104
104
textParameter . textInputMode = myscriptTextWebElement . textinputmode ;
105
105
textParameter . resultDetail = myscriptTextWebElement . resultdetail ;
106
- if ( myscriptTextWebElement . contenttypes ) {
107
- textParameter . contentTypes = myscriptTextWebElement . contenttypes ;
108
- }
109
- if ( myscriptTextWebElement . subsetknowledges ) {
110
- textParameter . subsetKnowledges = myscriptTextWebElement . subsetknowledges ;
111
- }
112
- if ( myscriptTextWebElement . userlkwords ) {
113
- textParameter . userLkWords = myscriptTextWebElement . userlkwords ;
114
- }
115
- if ( myscriptTextWebElement . userresources ) {
116
- textParameter . userResources = myscriptTextWebElement . userresources ;
117
- }
106
+ textParameter . contentTypes = myscriptTextWebElement . contenttypes ;
107
+ textParameter . subsetKnowledges = myscriptTextWebElement . subsetknowledges ;
108
+ textParameter . userLkWords = myscriptTextWebElement . userlkwords ;
109
+ textParameter . userResources = myscriptTextWebElement . userresources ;
118
110
// TODO Add textProperties object if needed
119
- if ( myscriptTextWebElement . textproperties ) {
120
- textParameter . textProperties = myscriptTextWebElement . textproperties ;
121
- }
111
+ textParameter . textProperties = myscriptTextWebElement . textproperties ;
122
112
return textParameter ;
123
113
}
124
114
You can’t perform that action at this time.
0 commit comments