Sha256: 7b7251eab8e24365298e2ff633a2670968774a7173820ac1f6365c017d697f4b
Contents?: true
Size: 330 Bytes
Versions: 50
Compression:
Stored size: 330 Bytes
Contents
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimStringTrim() { var polyfill = getPolyfill(); define(String.prototype, { trim: polyfill }, { trim: function testTrim() { return String.prototype.trim !== polyfill; } }); return polyfill; };
Version data entries
50 entries across 50 versions & 2 rubygems