.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / postcss-html / lib / parse.js
1 "use strict";
2
3 const parser = require("./parser");
4 const autoParser = require("./auto-parser");
5
6 function parse (source, opts) {
7         if (!opts.syntax) {
8                 opts.syntax = this;
9         }
10         return parser(source, opts) || autoParser(source, opts);
11 }
12
13 module.exports = parse;