Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

template-safe-parse.js 442B

12345678910111213141516171819
  1. 'use strict';
  2. const Input = require('postcss/lib/input');
  3. const TemplateSafeParser = require('./template-safe-parser');
  4. function templateSafeParse(css, opts) {
  5. const input = new Input(css, opts);
  6. input.quasis = opts.quasis;
  7. input.templateLiteralStyles = opts.templateLiteralStyles;
  8. input.parseOptions = opts;
  9. const parser = new TemplateSafeParser(input);
  10. parser.parse();
  11. return parser.root;
  12. }
  13. module.exports = templateSafeParse;