Sha256: 26bc7427832cd4d41a828599a1f4f15d1678add5a41d298b1fb3a6971ac0651c

Contents?: true

Size: 329 Bytes

Versions: 51

Compression:

Stored size: 329 Bytes

Contents

'use strict';

var define = require('define-properties');
var getPolyfill = require('./polyfill');

module.exports = function shimTrimEnd() {
	var polyfill = getPolyfill();
	define(
		String.prototype,
		{ trimEnd: polyfill },
		{ trimEnd: function () { return String.prototype.trimEnd !== polyfill; } }
	);
	return polyfill;
};

Version data entries

51 entries across 50 versions & 6 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.51 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.50 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.49 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.48 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.47 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.46 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.45 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.44 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.43 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.42 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.41 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.40 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.39 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.38 node_modules/string.prototype.trimend/shim.js
optimacms-0.1.61 spec/dummy/node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.32 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.31 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.30 node_modules/string.prototype.trimend/shim.js
immosquare-cleaner-0.1.29 node_modules/string.prototype.trimend/shim.js