OLD | NEW |
---|---|
1 <h2 id="overview">Overview</h2> | 1 <h2 id="overview">Overview</h2> |
2 | 2 |
3 <p> | 3 <p> |
4 This API has been optimized | 4 This API has been optimized |
5 to meet the specific storage needs of extensions. | 5 to meet the specific storage needs of extensions. |
6 It provides the same storage capabilities as the | 6 It provides the same storage capabilities as the |
7 <a href="https://developer.mozilla.org/en/DOM/Storage#localStorage">localStorage API</a> | 7 <a href="https://developer.mozilla.org/en/DOM/Storage#localStorage">localStorage API</a> |
8 with the following key differences: | 8 with the following key differences: |
9 </p> | 9 </p> |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 when you put your message in, | 84 when you put your message in, |
85 it gets in line, | 85 it gets in line, |
86 and it's going to be delayed | 86 and it's going to be delayed |
87 by anyone that puts into that tube | 87 by anyone that puts into that tube |
88 enormous amounts of material. | 88 enormous amounts of material. |
89 | 89 |
90 <p>For details on the current limits | 90 <p>For details on the current limits |
91 of the storage API, and what happens | 91 of the storage API, and what happens |
92 when those limits are exceeded, please | 92 when those limits are exceeded, please |
93 see the quota information for | 93 see the quota information for |
94 <a href="#sync-properties">sync</a> and | 94 <a href="#property-sync">sync</a> and |
95 <a href="#local-properties">local</a>. | 95 <a href="#property-local">local</a>. |
not at google - send to devlin
2015/02/26 16:53:21
Thanks for finding this! An even easier way to fix
| |
96 | 96 |
97 <h2 id="examples">Examples</h2> | 97 <h2 id="examples">Examples</h2> |
98 | 98 |
99 <p> | 99 <p> |
100 The following example checks for | 100 The following example checks for |
101 CSS code saved by a user on a form, | 101 CSS code saved by a user on a form, |
102 and if found, | 102 and if found, |
103 stores it. | 103 stores it. |
104 </p> | 104 </p> |
105 | 105 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 var storageChange = changes[key]; | 137 var storageChange = changes[key]; |
138 console.log('Storage key "%s" in namespace "%s" changed. ' + | 138 console.log('Storage key "%s" in namespace "%s" changed. ' + |
139 'Old value was "%s", new value is "%s".', | 139 'Old value was "%s", new value is "%s".', |
140 key, | 140 key, |
141 namespace, | 141 namespace, |
142 storageChange.oldValue, | 142 storageChange.oldValue, |
143 storageChange.newValue); | 143 storageChange.newValue); |
144 } | 144 } |
145 }); | 145 }); |
146 </pre> | 146 </pre> |
OLD | NEW |