diff options
author | Marvin Borner | 2018-11-07 22:10:16 +0100 |
---|---|---|
committer | Marvin Borner | 2018-11-07 22:10:17 +0100 |
commit | 954583f3d56fbfb60321725f13ad092e536e3737 (patch) | |
tree | a0505a763797582c61fd8c2f90b422456d8874c9 /node_modules/locutus/php/strings/ltrim.js | |
parent | 1c355e6e956a4e507ed5436d0c814ba9c3a1deb2 (diff) |
Removed node_modules
Diffstat (limited to 'node_modules/locutus/php/strings/ltrim.js')
-rw-r--r-- | node_modules/locutus/php/strings/ltrim.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/node_modules/locutus/php/strings/ltrim.js b/node_modules/locutus/php/strings/ltrim.js deleted file mode 100644 index f47b69c..0000000 --- a/node_modules/locutus/php/strings/ltrim.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -module.exports = function ltrim(str, charlist) { - // discuss at: http://locutus.io/php/ltrim/ - // original by: Kevin van Zonneveld (http://kvz.io) - // input by: Erkekjetter - // improved by: Kevin van Zonneveld (http://kvz.io) - // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman) - // example 1: ltrim(' Kevin van Zonneveld ') - // returns 1: 'Kevin van Zonneveld ' - - charlist = !charlist ? ' \\s\xA0' : (charlist + '').replace(/([[\]().?/*{}+$^:])/g, '$1'); - - var re = new RegExp('^[' + charlist + ']+', 'g'); - - return (str + '').replace(re, ''); -}; -//# sourceMappingURL=ltrim.js.map
\ No newline at end of file |