lmd
Version:
LMD: Lazy Module Declaration
9 lines (8 loc) • 310 B
JavaScript
// 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, '&').replace(/</g, '<').replace(/>/g, '>');
};
// hack comment