mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
10
react-app/node_modules/trim-right/index.js
generated
vendored
Normal file
10
react-app/node_modules/trim-right/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
module.exports = function (str) {
|
||||
var tail = str.length;
|
||||
|
||||
while (/[\s\uFEFF\u00A0]/.test(str[tail - 1])) {
|
||||
tail--;
|
||||
}
|
||||
|
||||
return str.slice(0, tail);
|
||||
};
|
Reference in New Issue
Block a user