UNPKG

lmd

Version:

LMD: Lazy Module Declaration

9 lines (8 loc) 310 B
// module is sandboxed(see cfgs) - it cannot require // CommonJS Module exports // or exports.feature = function () {} // This module is common for worker and browser module.exports = function(message) { return message.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;'); }; // hack comment