UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

14 lines (13 loc) 270 B
var toJSONDescriptor = { configurable: true, enumerable: false, writable: true, value: function emptyInput() { return {}; }, }; module.exports = function (input) { if (!input.toJSON) { Object.defineProperty(input, "toJSON", toJSONDescriptor); } };