forked from Bitmessage/virtpool
2 lines
138 B
JavaScript
2 lines
138 B
JavaScript
|
// 1. String.prototype.trim polyfill
|
|||
|
if (!"".trim) String.prototype.trim = function(){ return this.replace(/^[\s]+|[\s]+$/g, ''); };
|