(inputsDefineList, inputsContainer)
| 748 | } |
| 749 | |
| 750 | function dealInitEachInput(inputsDefineList, inputsContainer) { |
| 751 | var idList = []; |
| 752 | for (var i = 0; i < inputsDefineList.length; i++) { |
| 753 | var inputDefine = inputsDefineList[i]; |
| 754 | var inputRecorderWrapper = makeInputRecorder(); |
| 755 | var inputCreated = createInputByDefine( |
| 756 | inputDefine, |
| 757 | inputRecorderWrapper.inputRecorder |
| 758 | ); |
| 759 | if (!inputCreated) { |
| 760 | continue; |
| 761 | } |
| 762 | for (var j = 0; j < inputCreated.elList.length; j++) { |
| 763 | inputsContainer.appendChild(inputCreated.elList[j]); |
| 764 | } |
| 765 | var id = storeToInputDict(inputDefine, inputCreated, inputRecorderWrapper.setupInputId); |
| 766 | idList.push(id); |
| 767 | } |
| 768 | return idList; |
| 769 | } |
| 770 | |
| 771 | function storeToInputDict(inputDefine, inputCreated, inputRecorderSetupInputId) { |
| 772 | var id = retrieveId(inputDefine, 'id'); |
no test coverage detected
searching dependent graphs…