Skip to content

Commit 570d765

Browse files
author
Sebastian Gronewold
committed
Reverted changes...
1 parent bbf57b7 commit 570d765

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

angular-local-storage.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ angularLocalStorage.provider('localStorageService', function() {
7575
// When Angular's $document is not available
7676
if (!$document) {
7777
$document = document;
78-
} else {
79-
// unwrapping the jquery encapsulated document to access cookies
80-
// (see http://www.bennadel.com/blog/2630-accessing-document-properties-in-angularjs.htm)
81-
$document = $document[0];
8278
}
8379

8480
// If there is a prefix set in the config lets use that with an appended period for readability

0 commit comments

Comments
 (0)