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.

check-fence.js 310B

123456789101112131415
  1. module.exports = checkFence
  2. function checkFence(context) {
  3. var marker = context.options.fence || '`'
  4. if (marker !== '`' && marker !== '~') {
  5. throw new Error(
  6. 'Cannot serialize code with `' +
  7. marker +
  8. '` for `options.fence`, expected `` ` `` or `~`'
  9. )
  10. }
  11. return marker
  12. }