(maxAge)
| 35 | } |
| 36 | |
| 37 | function saveData(maxAge) { |
| 38 | localStorage.setItem('docsify.search.expires', Date.now() + maxAge); |
| 39 | localStorage.setItem('docsify.search.index', JSON.stringify(INDEXS)); |
| 40 | } |
| 41 | |
| 42 | function genIndex(path, content, router, depth) { |
| 43 | if ( content === void 0 ) content = ''; |