Fixed missing export of card-markdown card

no issue
- fixes the bug introduced in 0833b28557
This commit is contained in:
Kevin Ansfield 2018-02-01 15:50:43 +01:00
parent 0833b28557
commit 05bcf7ee6a
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,7 @@
'use strict';
// this card is just an alias of the `markdown` card which is necessary because
// our markdown-only editor was using the `card-markdown` card name
let markdownCard = require('./markdown');
module.exports = markdownCard;
const markdownCard = require('./markdown');
module.exports = Object.assign(markdownCard, {name: 'card-markdown'});

View File

@ -1,6 +1,7 @@
var hr = require('./hr'),
html = require('./html'),
image = require('./image'),
markdown = require('./markdown');
markdown = require('./markdown'),
cardMarkdown = require('./card-markdown');
module.exports = [hr, html, image, markdown];
module.exports = [hr, html, image, markdown, cardMarkdown];