You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above solution doesn't work when dot.templateSettings.strip is set to true.
The code:
dot.templateSettings.strip=true;vartemplate=''+'{{/* Some comment*/}}\n'+'Hello\n'+';';varcompiled=dot.template(template,undefined,{});console.log(compiled({}));
As the title. e.g. {{//this is the comment}} , but it won't be rendered to the browser, which just for developer reading.
The text was updated successfully, but these errors were encountered: