@docfy/ember 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +3 -4
- package/package.json +2 -2
- package/src/index.ts +3 -5
package/lib/index.js
CHANGED
|
@@ -112,11 +112,10 @@ module.exports = {
|
|
|
112
112
|
// Re-enables caching of this addon, due to opting out
|
|
113
113
|
// of the caching implicitly by specifying treeFor* methods
|
|
114
114
|
cacheKeyForTree(treeType) {
|
|
115
|
-
var _a, _b, _c;
|
|
116
115
|
switch (treeType) {
|
|
117
|
-
case 'app':
|
|
118
|
-
|
|
119
|
-
return calculate_cache_key_for_tree_1.default(treeType, this, [
|
|
116
|
+
case 'app':
|
|
117
|
+
case 'addon': {
|
|
118
|
+
return calculate_cache_key_for_tree_1.default(treeType, this, [this.docfyConfig]);
|
|
120
119
|
}
|
|
121
120
|
default:
|
|
122
121
|
return calculate_cache_key_for_tree_1.default(treeType, this);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docfy/ember",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "Ember integration with Docfy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"prember"
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "367f4946c144db8c5ef4e03fe44ba7450c89849e"
|
|
126
126
|
}
|
package/src/index.ts
CHANGED
|
@@ -139,11 +139,9 @@ module.exports = {
|
|
|
139
139
|
// of the caching implicitly by specifying treeFor* methods
|
|
140
140
|
cacheKeyForTree(treeType: string): string {
|
|
141
141
|
switch (treeType) {
|
|
142
|
-
case 'app':
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
?.join(',');
|
|
146
|
-
return cacheKeyForTree(treeType, this, [sources]);
|
|
142
|
+
case 'app':
|
|
143
|
+
case 'addon': {
|
|
144
|
+
return cacheKeyForTree(treeType, this, [this.docfyConfig]);
|
|
147
145
|
}
|
|
148
146
|
default:
|
|
149
147
|
return cacheKeyForTree(treeType, this);
|