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.

isAfterComment.js 321B

12345678910111213141516
  1. 'use strict';
  2. const isSharedLineComment = require('./isSharedLineComment');
  3. /**
  4. * @param {import('postcss').Node} node
  5. */
  6. module.exports = function (node) {
  7. const previousNode = node.prev();
  8. if (!previousNode || previousNode.type !== 'comment') {
  9. return false;
  10. }
  11. return !isSharedLineComment(previousNode);
  12. };