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/strpbrk.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 node_modules/locutus/php/strings/strpbrk.js (limited to 'node_modules/locutus/php/strings/strpbrk.js') diff --git a/node_modules/locutus/php/strings/strpbrk.js b/node_modules/locutus/php/strings/strpbrk.js deleted file mode 100644 index 338b4dd..0000000 --- a/node_modules/locutus/php/strings/strpbrk.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; - -module.exports = function strpbrk(haystack, charList) { - // discuss at: http://locutus.io/php/strpbrk/ - // original by: Alfonso Jimenez (http://www.alfonsojimenez.com) - // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman) - // revised by: Christoph - // improved by: Brett Zamir (http://brett-zamir.me) - // example 1: strpbrk('This is a Simple text.', 'is') - // returns 1: 'is is a Simple text.' - - for (var i = 0, len = haystack.length; i < len; ++i) { - if (charList.indexOf(haystack.charAt(i)) >= 0) { - return haystack.slice(i); - } - } - return false; -}; -//# sourceMappingURL=strpbrk.js.map \ No newline at end of file -- cgit v1.2.3