From 56d37615d75dff4c3ea78bd42448dab3fd21f2db Mon Sep 17 00:00:00 2001 From: soyjavi Date: Fri, 12 Jul 2013 17:51:35 +0200 Subject: [PATCH] Fixed Lungo.Data Namespace to Lungo.Cache --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ba624da5..aa5e442e 100644 --- a/README.md +++ b/README.md @@ -605,7 +605,7 @@ object: Value asigned to the key. *Example* ``` javascript var framework = {name: "Lungo", twitter: "lungojs"}; -Lungo.Data.Cache.set("lungoFramework", framework); +Lungo.Cache.set("lungoFramework", framework); ``` @@ -621,7 +621,7 @@ This method **return** an object containing the value. *Example* ``` javascript -var cachedFramework = Lungo.Data.Cache.get("lungoFramework"); +var cachedFramework = Lungo.Cache.get("lungoFramework"); //Result: {name: "Lungo", twitter: "lungojs"} ``` @@ -637,7 +637,7 @@ string: [OPTIONAL] Subkey in LungoJS Cache System. *Example* ``` javascript -Lungo.Data.Cache.remove("lungoFramework"); +Lungo.Cache.remove("lungoFramework"); ``` @@ -652,7 +652,7 @@ This method **return** a boolean value which is true if the key is found *Example* ``` javascript -Lungo.Data.Cache.exists("lungoFramework"); +Lungo.Cache.exists("lungoFramework"); ```