(inputStr)
| 1094 | // For example, the following strings are matched: `x0*2`, `slope/1.60934`, `y1*2.54` |
| 1095 | var MULT_DIV_REGEX = /^(\S+)([\*\/])(-?\d+(\.\d+)?)$/; |
| 1096 | function multDivParser(inputStr) { |
| 1097 | var match = inputStr.match(MULT_DIV_REGEX); |
| 1098 | if (match) return { key: match[1], op: match[2], number: Number(match[3]) }; |
| 1099 | return { key: inputStr, op: null, number: null }; |
| 1100 | } |
| 1101 | var texttemplateWarningsForShapes = { |
| 1102 | max: 10, |
| 1103 | count: 0, |
no outgoing calls
no test coverage detected
searching dependent graphs…