()
| 20 | |
| 21 | |
| 22 | function GetData () { |
| 23 | 'use strict'; |
| 24 | |
| 25 | var input = document.getElementsByTagName('input'), |
| 26 | dataArray = [], |
| 27 | inputValue = [], |
| 28 | valueOfNumber, |
| 29 | i, |
| 30 | len; |
| 31 | |
| 32 | for (i = 0, len = input.length; len > i; i++) { |
| 33 | inputValue.push(input[i].value); |
| 34 | valueOfNumber = inputValue.map(Number); |
| 35 | |
| 36 | dataArray.push({ |
| 37 | valueInput: valueOfNumber[0], |
| 38 | id: input[i].getAttribute('id') |
| 39 | }); |
| 40 | |
| 41 | inputValue = []; |
| 42 | } |
| 43 | |
| 44 | this.dataArray = dataArray; |
| 45 | } |
| 46 | |
| 47 | |
| 48 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected