From 47ea588810007bf5c9123bed86cc98e92cd0101c Mon Sep 17 00:00:00 2001
From: Boyan Rabchev <boyan@rabchev.com>
Date: Sun, 8 Dec 2013 18:30:27 +0200
Subject: [PATCH] =?UTF-8?q?Bound=20the=20get,=20set=20and=20del=20function?=
 =?UTF-8?q?s=20to=20their=20original=20=E2=80=9Cthis=E2=80=9D=20context=20?=
 =?UTF-8?q?when=20assigning=20a=20store.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/caching.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/caching.js b/lib/caching.js
index 866af3f..c5bce72 100644
--- a/lib/caching.js
+++ b/lib/caching.js
@@ -48,11 +48,11 @@ var caching = function (args) {
         });
     };
 
-    self.get = self.store.get;
+    self.get = self.store.get.bind(self.store);
 
-    self.set = self.store.set;
+    self.set = self.store.set.bind(self.store);
 
-    self.del = self.store.del;
+    self.del = self.store.del.bind(self.store);
 
     return self;
 };