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.

index.js 454B

1234567891011121314151617
  1. function join(tokens) {
  2. return (tokens.start +
  3. tokens.delimiter +
  4. tokens.postDelimiter +
  5. tokens.tag +
  6. tokens.postTag +
  7. tokens.type +
  8. tokens.postType +
  9. tokens.name +
  10. tokens.postName +
  11. tokens.description +
  12. tokens.end +
  13. tokens.lineEnd);
  14. }
  15. export default function getStringifier() {
  16. return (block) => block.source.map(({ tokens }) => join(tokens)).join('\n');
  17. }