Sha256: 4612328cf474dea9d4d48fdaae61ebbbe562c04b99758a55becadc6c2e8ca56f
Contents?: true
Size: 710 Bytes
Versions: 35
Compression:
Stored size: 710 Bytes
Contents
(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 || {});
Version data entries
35 entries across 35 versions & 1 rubygems