removed references to deprecated add functions.

demo documentation still refers to deprecated add functions.
revert-117-master
Ricardo de Peña 10 years ago
parent d08649f426
commit b1ea75c8c7

@ -87,7 +87,7 @@ var YourCtrl = function($scope, localStorageService, ...) {
// Removes all local storage
localStorageService.clearAll();
// You can also play with cookies the same way
localStorageService.cookie.add('localStorageKey','I am a cookie value now');
localStorageService.cookie.set('localStorageKey','I am a cookie value now');
}</pre>
<h3>API Access</h3>
@ -109,7 +109,7 @@ var YourCtrl = function($scope, localStorageService, ...) {
<td>Boolean for success</td>
</tr>
<tr>
<td><code>add</code></td>
<td><code>set</code></td>
<td><small>key, value</small></td>
<td>Adds a key-value pair to the browser local storage</td>
<td>Boolean for success</td>
@ -134,7 +134,7 @@ var YourCtrl = function($scope, localStorageService, ...) {
</tr>
<tr>
<td><code>cookie</code></td>
<td><small>add | get | remove | clearAll</small></td>
<td><small>set | get | remove | clearAll</small></td>
<td>Each function within cookie uses the same arguments as the coresponding local storage functions</td>
<td>n/a</td>
</tr>