mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-09-18 10:31:28 +00:00
11 lines
229 B
JavaScript
11 lines
229 B
JavaScript
// 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;
|