(text, path)
| 221 | } |
| 222 | |
| 223 | function updateNoData(text, path) { |
| 224 | if (typeof text === 'string') { |
| 225 | NO_DATA_TEXT = text; |
| 226 | } else { |
| 227 | const match = Object.keys(text).filter(key => path.indexOf(key) > -1)[0]; |
| 228 | NO_DATA_TEXT = text[match]; |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | function updateOptions(opts) { |
| 233 | options = opts; |
no outgoing calls
no test coverage detected
searching dependent graphs…