(type)
| 353 | |
| 354 | // type: 'full' or 'short' |
| 355 | function updatePageHint(type) { |
| 356 | var pagePathInfo = getState('pagePathInfo'); |
| 357 | |
| 358 | var newValue = !pagePathInfo.pagePath |
| 359 | ? '' |
| 360 | : type === 'short' |
| 361 | ? (pagePathInfo.index != null ? (pagePathInfo.index + 1) + '. ' : '') |
| 362 | + (pagePathInfo.pagePath || '') |
| 363 | : testHelper.dir() + '/' + pagePathInfo.pagePath; |
| 364 | |
| 365 | $(SELECTOR_CURRENT).val(newValue); |
| 366 | } |
| 367 | |
| 368 | })(); |
no test coverage detected
searching dependent graphs…