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.

rawNodeString.js 312B

1234567891011121314151617181920
  1. 'use strict';
  2. /**
  3. * Stringify PostCSS node including its raw "before" string.
  4. *
  5. * @param {import('postcss').Node} node
  6. *
  7. * @returns {string}
  8. */
  9. module.exports = function (node) {
  10. let result = '';
  11. if (node.raws.before) {
  12. result += node.raws.before;
  13. }
  14. result += node.toString();
  15. return result;
  16. };