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.

label-start-link.js 726B

1234567891011121314151617181920212223242526272829303132333435
  1. 'use strict'
  2. var labelEnd = require('./label-end.js')
  3. var labelStartLink = {
  4. name: 'labelStartLink',
  5. tokenize: tokenizeLabelStartLink,
  6. resolveAll: labelEnd.resolveAll
  7. }
  8. function tokenizeLabelStartLink(effects, ok, nok) {
  9. var self = this
  10. return start
  11. function start(code) {
  12. effects.enter('labelLink')
  13. effects.enter('labelMarker')
  14. effects.consume(code)
  15. effects.exit('labelMarker')
  16. effects.exit('labelLink')
  17. return after
  18. }
  19. function after(code) {
  20. /* c8 ignore next */
  21. return code === 94 &&
  22. /* c8 ignore next */
  23. '_hiddenFootnoteSupport' in self.parser.constructs
  24. ? /* c8 ignore next */
  25. nok(code)
  26. : ok(code)
  27. }
  28. }
  29. module.exports = labelStartLink