UNPKG

vue-styleguidist

Version:
15 lines 427 B
import "core-js/modules/es.object.to-string.js"; import "core-js/modules/web.dom-collections.for-each.js"; export default function (examples) { examples.forEach(function (ex) { if (ex.type === 'code') { if (ex.compiled !== undefined && typeof ex.content === 'string') { var content = { raw: ex.content, compiled: ex.compiled }; ex.content = content; } } }); }