| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 Polymer({ | 3 Polymer({ |
| 4 is: 'iron-localstorage', | 4 is: 'iron-localstorage', |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * Fired when value loads from localStorage. | 7 * Fired when value loads from localStorage. |
| 8 * | 8 * |
| 9 * @param {Object} detail | 9 * @param {Object} detail |
| 10 * @param {Boolean} detail.externalChange true if change occured in differen
t window | 10 * @param {Boolean} detail.externalChange true if change occured in differen
t window |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 146 } |
| 147 catch(ex) { | 147 catch(ex) { |
| 148 // Happens in Safari incognito mode, | 148 // Happens in Safari incognito mode, |
| 149 this.errorMessage = ex.message; | 149 this.errorMessage = ex.message; |
| 150 console.error("localStorage could not be saved. Safari incoginito mode?"
, ex); | 150 console.error("localStorage could not be saved. Safari incoginito mode?"
, ex); |
| 151 } | 151 } |
| 152 } | 152 } |
| 153 | 153 |
| 154 }); | 154 }); |
| 155 | 155 |
| OLD | NEW |