Skip to content

Commit

Permalink
move async to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed May 20, 2022
1 parent 2002557 commit a888e1e
Show file tree
Hide file tree
Showing 13 changed files with 4,296 additions and 1,367 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"import": "./lib/marked.esm.js",
"default": "./lib/marked.cjs"
},
"./async": "./src/async/marked.js",
"./package.json": "./package.json"
},
"repository": "git://github.com/markedjs/marked.git",
Expand Down
3 changes: 2 additions & 1 deletion src/Lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,9 @@ export class Lexer {
return tokens;
}

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

/**
Expand Down
Loading

0 comments on commit a888e1e

Please sign in to comment.