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.

thematic-break.js 405B

1234567891011121314
  1. module.exports = thematicBreak
  2. var repeat = require('repeat-string')
  3. var checkRepeat = require('../util/check-rule-repeat')
  4. var checkRule = require('../util/check-rule')
  5. function thematicBreak(node, parent, context) {
  6. var value = repeat(
  7. checkRule(context) + (context.options.ruleSpaces ? ' ' : ''),
  8. checkRepeat(context)
  9. )
  10. return context.options.ruleSpaces ? value.slice(0, -1) : value
  11. }