Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Mar 21, 2022
1 parent 9d70521 commit 12aba4e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/helpers/SnippetParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ export class SnippetParser {

public static getPlaceholders(value: string[] | string, openingTags: string = '[[', closingTags: string = ']]'): string[] {
const template = SnippetParser.template(value);
console.log(template);
console.log(Mustache.parse(template, [openingTags, closingTags]));

return Mustache.parse(template, [openingTags, closingTags])
.filter((v) => v[0] === 'name' || v[0] === '&')
.map((v) => { return v[1]; });
Expand Down

0 comments on commit 12aba4e

Please sign in to comment.