Fix function name (#11963)

pull/11966/head
Yusup Hambali 7 months ago committed by GitHub
parent ddb0bc3888
commit d7b7a9d0bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -72,7 +72,7 @@ const regex_closing_comment = /-->/;
const regex_capital_letter = /[A-Z]/; const regex_capital_letter = /[A-Z]/;
/** @param {import('../index.js').Parser} parser */ /** @param {import('../index.js').Parser} parser */
export default function tag(parser) { export default function element(parser) {
const start = parser.index++; const start = parser.index++;
let parent = parser.current(); let parent = parser.current();

@ -7,7 +7,7 @@ import { walk } from 'zimmerframe';
const regex_whitespace_with_closing_curly_brace = /^\s*}/; const regex_whitespace_with_closing_curly_brace = /^\s*}/;
/** @param {import('../index.js').Parser} parser */ /** @param {import('../index.js').Parser} parser */
export default function mustache(parser) { export default function tag(parser) {
const start = parser.index; const start = parser.index;
parser.index += 1; parser.index += 1;

Loading…
Cancel
Save