From b1ea75c8c7160794f98ac7fa393b0ded058db883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20de=20Pe=C3=B1a?= Date: Tue, 1 Jul 2014 11:41:43 -0400 Subject: [PATCH] removed references to deprecated add functions. demo documentation still refers to deprecated add functions. --- demo/demo.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/demo.html b/demo/demo.html index 17f42db..6f6fb7b 100644 --- a/demo/demo.html +++ b/demo/demo.html @@ -87,7 +87,7 @@
JS Example
// 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'); }

API Access

@@ -109,7 +109,7 @@

API Access

Boolean for success - add + set key, value Adds a key-value pair to the browser local storage Boolean for success @@ -134,7 +134,7 @@

API Access

cookie - add | get | remove | clearAll + set | get | remove | clearAll Each function within cookie uses the same arguments as the coresponding local storage functions n/a