Skip to content

Commit

Permalink
removed references to deprecated add functions.
Browse files Browse the repository at this point in the history
demo documentation still refers to deprecated add functions.
  • Loading branch information
Ricardo de Peña committed Jul 1, 2014
1 parent d08649f commit b1ea75c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h6>JS Example</h6>
// 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>
Expand All @@ -109,7 +109,7 @@ <h3>API Access</h3>
<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>
Expand All @@ -134,7 +134,7 @@ <h3>API Access</h3>
</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>
Expand Down

0 comments on commit b1ea75c

Please sign in to comment.