@jam-comments/server-utilities 5.8.0 → 5.8.2
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.
|
@@ -105,8 +105,10 @@ function markupFetcher(platform, fetchImplementation = fetch) {
|
|
|
105
105
|
path = path || "/";
|
|
106
106
|
const savedFile = (() => {
|
|
107
107
|
if (!store_1.default.isInitialized()) {
|
|
108
|
+
console.log("Store is not initialized.");
|
|
108
109
|
return null;
|
|
109
110
|
}
|
|
111
|
+
console.log("Getting cached comment markup");
|
|
110
112
|
return store_1.default.get(path) || store_1.default.getEmptyMarkup();
|
|
111
113
|
})();
|
|
112
114
|
const markup = savedFile
|
|
@@ -95,8 +95,10 @@ export function markupFetcher(platform, fetchImplementation = fetch) {
|
|
|
95
95
|
path = path || "/";
|
|
96
96
|
const savedFile = (() => {
|
|
97
97
|
if (!store.isInitialized()) {
|
|
98
|
+
console.log("Store is not initialized.");
|
|
98
99
|
return null;
|
|
99
100
|
}
|
|
101
|
+
console.log("Getting cached comment markup");
|
|
100
102
|
return store.get(path) || store.getEmptyMarkup();
|
|
101
103
|
})();
|
|
102
104
|
const markup = savedFile
|