()
| 72 | } |
| 73 | |
| 74 | function saveStats() { |
| 75 | stats.windows.previous = stats.windows.current; |
| 76 | stats.timeOnPage += (+new Date()) - loadTime; |
| 77 | // stats.scrollLog = []; |
| 78 | localStorage.setItem('stats', JSON.stringify(stats)); |
| 79 | return; |
| 80 | } |
| 81 | |
| 82 | function loadStats() { |
| 83 | var stats = JSON.parse(localStorage.getItem('stats')); |
nothing calls this directly
no outgoing calls
no test coverage detected