Sha256: 773982671f51a76891c151b1840b4a054108a4c0e25bfde28c8ad60614cbac50

Contents?: true

Size: 333 Bytes

Versions: 14

Compression:

Stored size: 333 Bytes

Contents

'use strict';

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

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

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.18.2 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.16.1 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.15.2 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.18.4 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.18.1 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.14.0 test/dummy/node_modules/string.prototype.trimleft/shim.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/string.prototype.trimleft/shim.js
enju_library-0.3.8 spec/dummy/node_modules/string.prototype.trimleft/shim.js
ilog-0.4.1 node_modules/string.prototype.trimleft/shim.js
ilog-0.4.0 node_modules/string.prototype.trimleft/shim.js
ilog-0.3.3 node_modules/string.prototype.trimleft/shim.js
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/string.prototype.trimleft/shim.js