From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/strings/chunk_split.js | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 node_modules/locutus/php/strings/chunk_split.js (limited to 'node_modules/locutus/php/strings/chunk_split.js') diff --git a/node_modules/locutus/php/strings/chunk_split.js b/node_modules/locutus/php/strings/chunk_split.js deleted file mode 100644 index 24f6e00..0000000 --- a/node_modules/locutus/php/strings/chunk_split.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -module.exports = function chunk_split(body, chunklen, end) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/chunk_split/ - // original by: Paulo Freitas - // input by: Brett Zamir (http://brett-zamir.me) - // bugfixed by: Kevin van Zonneveld (http://kvz.io) - // improved by: Theriault (https://github.com/Theriault) - // example 1: chunk_split('Hello world!', 1, '*') - // returns 1: 'H*e*l*l*o* *w*o*r*l*d*!*' - // example 2: chunk_split('Hello world!', 10, '*') - // returns 2: 'Hello worl*d!*' - - chunklen = parseInt(chunklen, 10) || 76; - end = end || '\r\n'; - - if (chunklen < 1) { - return false; - } - - return body.match(new RegExp('.{0,' + chunklen + '}', 'g')).join(end); -}; -//# sourceMappingURL=chunk_split.js.map \ No newline at end of file -- cgit v1.2.3