testing with setting var func and pug template

This commit is contained in:
sanjayk03-dev
2023-12-30 15:51:21 +05:30
parent 26d8314ad0
commit c0881bd966
3 changed files with 12 additions and 3 deletions

View File

@@ -203,13 +203,16 @@ module.exports = {
return Math.min(1, p);
},
isMacrosPresent: function(){
return this.config.macros != undefined;
return true;
// if(this.config.macros!=undefined){
// console.log("isMacrosPresent",this.config.macros!=undefined);
// console.log(this.config.macros.length!=0);
// return this.config.macros.length!=0;
// }
// return false;
},
isMacrosAbsent: function(){
return false;
}
},