From 824a2d9f587ca017fc71b84d835e72f54f9c87c4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 18:02:36 +0100 Subject: Began rewrite --- node_modules/locutus/php/strings/strnatcasecmp.js.map | 1 + 1 file changed, 1 insertion(+) create mode 100644 node_modules/locutus/php/strings/strnatcasecmp.js.map (limited to 'node_modules/locutus/php/strings/strnatcasecmp.js.map') diff --git a/node_modules/locutus/php/strings/strnatcasecmp.js.map b/node_modules/locutus/php/strings/strnatcasecmp.js.map new file mode 100644 index 0000000..3b42010 --- /dev/null +++ b/node_modules/locutus/php/strings/strnatcasecmp.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/strings/strnatcasecmp.js"],"names":["module","exports","strnatcasecmp","a","b","strnatcmp","require","_phpCastString","arguments","length","toLowerCase"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,aAAT,CAAwBC,CAAxB,EAA2BC,CAA3B,EAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,YAAYC,QAAQ,sBAAR,CAAhB;AACA,MAAIC,iBAAiBD,QAAQ,4BAAR,CAArB;;AAEA,MAAIE,UAAUC,MAAV,KAAqB,CAAzB,EAA4B;AAC1B,WAAO,IAAP;AACD;;AAED,SAAOJ,UAAUE,eAAeJ,CAAf,EAAkBO,WAAlB,EAAV,EAA2CH,eAAeH,CAAf,EAAkBM,WAAlB,EAA3C,CAAP;AACD,CAvBD","file":"strnatcasecmp.js","sourcesContent":["module.exports = function strnatcasecmp (a, b) {\n // discuss at: http://locutus.io/php/strnatcasecmp/\n // original by: Martin Pool\n // reimplemented by: Pierre-Luc Paour\n // reimplemented by: Kristof Coomans (SCK-CEN (Belgian Nucleair Research Centre))\n // reimplemented by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // input by: Devan Penner-Woelk\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // reimplemented by: RafaƂ Kukawski\n // example 1: strnatcasecmp(10, 1)\n // returns 1: 1\n // example 2: strnatcasecmp('1', '10')\n // returns 2: -1\n\n var strnatcmp = require('../strings/strnatcmp')\n var _phpCastString = require('../_helpers/_phpCastString')\n\n if (arguments.length !== 2) {\n return null\n }\n\n return strnatcmp(_phpCastString(a).toLowerCase(), _phpCastString(b).toLowerCase())\n}\n"]} \ No newline at end of file -- cgit v1.2.3