Function
reJsValue
(target, nvalue, jsname, ori, orivalue)
Source from the content-addressed store, hash-verified
| 2090 | } |
| 2091 | |
| 2092 | function reJsValue(target, nvalue, jsname, ori, orivalue) { |
| 2093 | let q = orivalue |
| 2094 | if (target != 'null') { |
| 2095 | for (let i = 0; i < target.length; i++) { |
| 2096 | let elem = target[i].trim() |
| 2097 | if (jsname.indexOf(elem) != -1 || ori.indexOf(elem) != -1) { |
| 2098 | q = nvalue[i] |
| 2099 | return q |
| 2100 | } |
| 2101 | } //for |
| 2102 | } |
| 2103 | return q |
| 2104 | } //reJsValue |
| 2105 | |
| 2106 | function getQxReInfo(x, y, mark) { |
| 2107 | let noteK = isNoteK(x) |
Tested by
no test coverage detected