Skip to content

Commit

Permalink
Merge pull request #106 from rdepena/patch-1
Browse files Browse the repository at this point in the history
removed references to deprecated add functions.
  • Loading branch information
grevory committed Aug 14, 2014
2 parents 0a256f3 + b1ea75c commit a42db53
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 a42db53

Please sign in to comment.