diff options
Diffstat (limited to 'node_modules/locutus/php/strings/strpbrk.js.map')
-rw-r--r-- | node_modules/locutus/php/strings/strpbrk.js.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/strings/strpbrk.js.map b/node_modules/locutus/php/strings/strpbrk.js.map new file mode 100644 index 0000000..13e6be0 --- /dev/null +++ b/node_modules/locutus/php/strings/strpbrk.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/strings/strpbrk.js"],"names":["module","exports","strpbrk","haystack","charList","i","len","length","indexOf","charAt","slice"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4BC,QAA5B,EAAsC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAK,IAAIC,IAAI,CAAR,EAAWC,MAAMH,SAASI,MAA/B,EAAuCF,IAAIC,GAA3C,EAAgD,EAAED,CAAlD,EAAqD;AACnD,QAAID,SAASI,OAAT,CAAiBL,SAASM,MAAT,CAAgBJ,CAAhB,CAAjB,KAAwC,CAA5C,EAA+C;AAC7C,aAAOF,SAASO,KAAT,CAAeL,CAAf,CAAP;AACD;AACF;AACD,SAAO,KAAP;AACD,CAfD","file":"strpbrk.js","sourcesContent":["module.exports = function strpbrk (haystack, charList) {\n // discuss at: http://locutus.io/php/strpbrk/\n // original by: Alfonso Jimenez (http://www.alfonsojimenez.com)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // revised by: Christoph\n // improved by: Brett Zamir (http://brett-zamir.me)\n // example 1: strpbrk('This is a Simple text.', 'is')\n // returns 1: 'is is a Simple text.'\n\n for (var i = 0, len = haystack.length; i < len; ++i) {\n if (charList.indexOf(haystack.charAt(i)) >= 0) {\n return haystack.slice(i)\n }\n }\n return false\n}\n"]}
\ No newline at end of file |