Skip to content

Commit aab9bb1

Browse files
committed
Merge pull request #203 from chasen/patch-1
Fixed code indentation for setting cache defaults
2 parents 36d19b7 + 33ee90c commit aab9bb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

guide/angular-cache/basics.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ angular.module('app', ['angular-data.DSCacheFactory'])
8080

8181
DSCacheFactoryProvider.setCacheDefaults({
8282
maxAge: 3600000,
83-
deleteOnExpire: 'aggressive',
84-
onExpire: function (key, value) {
85-
$http.get(key).success(function (data) {
86-
profileCache.put(key, data);
87-
});
88-
}
83+
deleteOnExpire: 'aggressive',
84+
onExpire: function (key, value) {
85+
$http.get(key).success(function (data) {
86+
profileCache.put(key, data);
87+
});
88+
}
8989
});
9090
});
9191
```

0 commit comments

Comments
 (0)