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.

partial-blank-line.mjs 561B

123456789101112131415161718
  1. var partialBlankLine = {
  2. tokenize: tokenizePartialBlankLine,
  3. partial: true
  4. }
  5. export default partialBlankLine
  6. import codes from '../character/codes.mjs'
  7. import markdownLineEnding from '../character/markdown-line-ending.mjs'
  8. import types from '../constant/types.mjs'
  9. import spaceFactory from './factory-space.mjs'
  10. function tokenizePartialBlankLine(effects, ok, nok) {
  11. return spaceFactory(effects, afterWhitespace, types.linePrefix)
  12. function afterWhitespace(code) {
  13. return code === codes.eof || markdownLineEnding(code) ? ok(code) : nok(code)
  14. }
  15. }