File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
modules/openapi-generator/src/main/resources/htmlDocs2
samples/documentation/html2 Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 111
111
} else {
112
112
// Use a for loop instead of forEach to avoid nested functions
113
113
// Otherwise " return" will not work properly
114
- for(var prompt in currentNode){
115
- if (currentNode.hasOwnProperty(prompt )) {
116
- currentChild = currentNode[prompt ]
117
- if (id == prompt ) {
114
+ for(var property in currentNode){
115
+ if (currentNode.hasOwnProperty(property )) {
116
+ currentChild = currentNode[property ]
117
+ if (id == property ) {
118
118
return currentChild;
119
119
} else {
120
120
// Search in the current child
Original file line number Diff line number Diff line change 163
163
} else {
164
164
// Use a for loop instead of forEach to avoid nested functions
165
165
// Otherwise "return" will not work properly
166
- for(var prompt in currentNode){
167
- if (currentNode.hasOwnProperty(prompt )) {
168
- currentChild = currentNode[prompt ]
169
- if (id == prompt ) {
166
+ for(var property in currentNode){
167
+ if (currentNode.hasOwnProperty(property )) {
168
+ currentChild = currentNode[property ]
169
+ if (id == property ) {
170
170
return currentChild;
171
171
} else {
172
172
// Search in the current child
You can’t perform that action at this time.
0 commit comments