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.

atRuleParamIndex.js 285B

12345678910111213141516
  1. 'use strict';
  2. /**
  3. * @param {import('postcss').AtRule} atRule
  4. * @returns {number}
  5. */
  6. module.exports = function (atRule) {
  7. // Initial 1 is for the `@`
  8. let index = 1 + atRule.name.length;
  9. if (atRule.raws.afterName) {
  10. index += atRule.raws.afterName.length;
  11. }
  12. return index;
  13. };