Sha256: 4058719ebf5c3fdaea539d319b2d2959e4b49809c13205774841cd261c19d07d
Contents?: true
Size: 791 Bytes
Versions: 75
Compression:
Stored size: 791 Bytes
Contents
// @ts-nocheck (function (undefined) { // Detection from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill var detect = ('trim' in String.prototype); if (detect) return // Polyfill from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); //# sourceMappingURL=vendor/polyfills/String/prototype/trim.mjs.map
Version data entries
75 entries across 75 versions & 1 rubygems