(key)
| 69 | } |
| 70 | |
| 71 | function getFromLS(key) { |
| 72 | let ls = {}; |
| 73 | if (global.localStorage) { |
| 74 | try { |
| 75 | ls = JSON.parse(global.localStorage.getItem("rgl-7")) || {}; |
| 76 | } catch { |
| 77 | /*Ignore*/ |
| 78 | } |
| 79 | } |
| 80 | return ls[key]; |
| 81 | } |
| 82 | |
| 83 | function saveToLS(key, value) { |
| 84 | if (global.localStorage) { |
no outgoing calls
no test coverage detected
searching dependent graphs…