Skip to content

Commit

Permalink
dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jashmenn committed May 27, 2020
1 parent 914418c commit 64597d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cq/dist/cq.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -142796,6 +142796,8 @@ function cq(code, queries, opts = {}) {
queries = queryParser.parse(queries);
}

// TODO -- if no engine given, but you do have a language that we know about, then use that engine, e.g. treesitter

if (typeof engine === "string") {
switch (engine) {
case "typescript":
Expand Down
2 changes: 2 additions & 0 deletions packages/cq/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ function cq(code, queries) {
queries = _queryParser2.default.parse(queries);
}

// TODO -- if no engine given, but you do have a language that we know about, then use that engine, e.g. treesitter

if (typeof engine === "string") {
switch (engine) {
case "typescript":
Expand Down

0 comments on commit 64597d0

Please sign in to comment.