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/polyfill.js
| 14 lines
| 322 B
| application/javascript
| JavascriptLexer
|
r789 | 'use strict'; | |||
var implementation = require('./implementation'); | ||||
module.exports = function getPolyfill() { | ||||
if (!String.prototype.trimLeft) { | ||||
return implementation; | ||||
} | ||||
var zeroWidthSpace = '\u200b'; | ||||
if (zeroWidthSpace.trimLeft() !== zeroWidthSpace) { | ||||
return implementation; | ||||
} | ||||
return String.prototype.trimLeft; | ||||
}; | ||||