safe-string.js 229 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // Build out our basic SafeString type function SafeString(string) { this.string = string; } SafeString.prototype.toString = SafeString.prototype.toHTML = function() { return '' + this.string; }; export default SafeString;