Show More
Commit Description:
force log out when password change
Commit Description:
force log out when password change
References:
File last commit:
Show/Diff file:
Action:
node_modules/string.prototype.trimright/shim.js
| 14 lines
| 337 B
| application/javascript
| JavascriptLexer
|
r789 | 'use strict'; | |||
var define = require('define-properties'); | ||||
var getPolyfill = require('./polyfill'); | ||||
module.exports = function shimTrimRight() { | ||||
var polyfill = getPolyfill(); | ||||
define( | ||||
String.prototype, | ||||
{ trimRight: polyfill }, | ||||
{ trimRight: function () { return String.prototype.trimRight !== polyfill; } } | ||||
); | ||||
return polyfill; | ||||
}; | ||||