diff options
Diffstat (limited to 'node_modules/locutus/php/filesystem/dirname.js.map')
-rw-r--r-- | node_modules/locutus/php/filesystem/dirname.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/filesystem/dirname.js.map b/node_modules/locutus/php/filesystem/dirname.js.map deleted file mode 100644 index d700a0a..0000000 --- a/node_modules/locutus/php/filesystem/dirname.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/filesystem/dirname.js"],"names":["module","exports","dirname","path","replace"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,IAAlB,EAAwB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAOA,KAAKC,OAAL,CAAa,KAAb,EAAoB,GAApB,EACJA,OADI,CACI,aADJ,EACmB,EADnB,CAAP;AAED,CAbD","file":"dirname.js","sourcesContent":["module.exports = function dirname (path) {\n // discuss at: http://locutus.io/php/dirname/\n // original by: Ozh\n // improved by: XoraX (http://www.xorax.info)\n // example 1: dirname('/etc/passwd')\n // returns 1: '/etc'\n // example 2: dirname('c:/Temp/x')\n // returns 2: 'c:/Temp'\n // example 3: dirname('/dir/test/')\n // returns 3: '/dir'\n\n return path.replace(/\\\\/g, '/')\n .replace(/\\/[^/]*\\/?$/, '')\n}\n"]}
\ No newline at end of file |