()
| 165 | // function does not re-assign needlessly, to avoid Polymer observer |
| 166 | // churn. |
| 167 | const setComponentValue = () => { |
| 168 | const storedValue = get(uriStorageName, fullOptions); |
| 169 | const currentValue = this[fullOptions.polymerProperty]; |
| 170 | if (!_.isEqual(storedValue, currentValue)) { |
| 171 | this[fullOptions.polymerProperty] = storedValue; |
| 172 | } |
| 173 | }; |
| 174 | const addListener = fullOptions.useLocalStorage |
| 175 | ? addStorageListener |
| 176 | : addHashListener; |
no test coverage detected
searching dependent graphs…