Show More
Commit Description:
prevent multiple place login using uuid cookie
Commit Description:
prevent multiple place login using uuid cookie
References:
File last commit:
Show/Diff file:
Action:
node_modules/string.prototype.trimleft/shim.js
| 14 lines
| 333 B
| application/javascript
| JavascriptLexer
|
r789 | '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; | ||||
}; | ||||