diff options
Diffstat (limited to 'node_modules/locutus/php/strings/stripos.js.map')
-rw-r--r-- | node_modules/locutus/php/strings/stripos.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/strings/stripos.js.map b/node_modules/locutus/php/strings/stripos.js.map deleted file mode 100644 index b254e0d..0000000 --- a/node_modules/locutus/php/strings/stripos.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/strings/stripos.js"],"names":["module","exports","stripos","fHaystack","fNeedle","fOffset","haystack","toLowerCase","needle","index","indexOf"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,SAAlB,EAA6BC,OAA7B,EAAsCC,OAAtC,EAA+C;AAC9D;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAW,CAACH,YAAY,EAAb,EAAiBI,WAAjB,EAAf;AACA,MAAIC,SAAS,CAACJ,UAAU,EAAX,EAAeG,WAAf,EAAb;AACA,MAAIE,QAAQ,CAAZ;;AAEA,MAAI,CAACA,QAAQH,SAASI,OAAT,CAAiBF,MAAjB,EAAyBH,OAAzB,CAAT,MAAgD,CAAC,CAArD,EAAwD;AACtD,WAAOI,KAAP;AACD;;AAED,SAAO,KAAP;AACD,CAhBD","file":"stripos.js","sourcesContent":["module.exports = function stripos (fHaystack, fNeedle, fOffset) {\n // discuss at: http://locutus.io/php/stripos/\n // original by: Martijn Wieringa\n // revised by: Onno Marsman (https://twitter.com/onnomarsman)\n // example 1: stripos('ABC', 'a')\n // returns 1: 0\n\n var haystack = (fHaystack + '').toLowerCase()\n var needle = (fNeedle + '').toLowerCase()\n var index = 0\n\n if ((index = haystack.indexOf(needle, fOffset)) !== -1) {\n return index\n }\n\n return false\n}\n"]}
\ No newline at end of file |