This commit is contained in:
2020-09-08 18:33:57 +00:00
parent cd28367cb0
commit 10abb41a0c
2 changed files with 18 additions and 23 deletions

View File

@@ -26,13 +26,13 @@ function ayRegisterHelpers() {
});
} //eof
// async function ayPreRender(ayAllData) {
// if (typeof ayPrepareData === "function") {
// return await ayPrepareData(ayAllData);
// } else {
// return ayAllData;
// }
// }
async function ayPreRender(ayAllData) {
if (typeof ayPrepareData === "function") {
return await ayPrepareData(ayAllData);
} else {
return ayAllData;
}
}
// function ayPreRender(ayAllData) {
// if (typeof ayPrepareData === "function") {
@@ -42,7 +42,7 @@ function ayRegisterHelpers() {
// }
// }
function ayPreRender(ayAllData) {
return ayAllData;
// return typeof ayPrepareData;
}
// function ayPreRender(ayAllData) {
// return ayAllData;
// // return typeof ayPrepareData;
// }