From 570d7657c4cd49e516a2098e9ba3233090b771ef Mon Sep 17 00:00:00 2001 From: Sebastian Gronewold Date: Tue, 12 Aug 2014 10:37:12 +0000 Subject: [PATCH] Reverted changes... --- angular-local-storage.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/angular-local-storage.js b/angular-local-storage.js index 96a4210..9850a77 100644 --- a/angular-local-storage.js +++ b/angular-local-storage.js @@ -75,10 +75,6 @@ angularLocalStorage.provider('localStorageService', function() { // When Angular's $document is not available if (!$document) { $document = document; - } else { - // unwrapping the jquery encapsulated document to access cookies - // (see http://www.bennadel.com/blog/2630-accessing-document-properties-in-angularjs.htm) - $document = $document[0]; } // If there is a prefix set in the config lets use that with an appended period for readability