honkit
Version:
HonKit is building beautiful books using Markdown.
17 lines (15 loc) • 362 B
JavaScript
;
/**
Encode a SummaryArticle to JSON
@param {GlossaryEntry}
@return {Object}
*/
Object.defineProperty(exports, "__esModule", { value: true });
function encodeGlossaryEntry(entry) {
return {
id: entry.getID(),
name: entry.getName(),
description: entry.getDescription()
};
}
exports.default = encodeGlossaryEntry;