Skip to content

Commit

Permalink
🗜️ build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkedJS bot committed Aug 21, 2022
1 parent f1a9608 commit a8bd390
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions lib/marked.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1747,10 +1747,15 @@ var Lexer = /*#__PURE__*/function () {
};

_proto.inline = function inline(src, tokens) {
if (tokens === void 0) {
tokens = [];
}

this.inlineQueue.push({
src: src,
tokens: tokens
});
return tokens;
}
/**
* Lexing/Compiling
Expand Down
3 changes: 2 additions & 1 deletion lib/marked.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1704,8 +1704,9 @@ class Lexer {
return tokens;
}

inline(src, tokens) {
inline(src, tokens = []) {
this.inlineQueue.push({ src, tokens });
return tokens;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions lib/marked.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1749,10 +1749,15 @@
};

_proto.inline = function inline(src, tokens) {
if (tokens === void 0) {
tokens = [];
}

this.inlineQueue.push({
src: src,
tokens: tokens
});
return tokens;
}
/**
* Lexing/Compiling
Expand Down
2 changes: 1 addition & 1 deletion marked.min.js

Large diffs are not rendered by default.

0 comments on commit a8bd390

Please sign in to comment.