Change the behavior of path.extname
authorAapo Laitinen <aapo.laitinen@iki.fi>
Sun, 23 May 2010 18:28:23 +0000 (21:28 +0300)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 24 May 2010 16:56:28 +0000 (09:56 -0700)
commitc4876d01a1b87dbea2e965cef58432eae178fdf1
tree7a931e41e8070f1cbbd610a5c5548c484c1ec540
parentab5c0dd63ea3a521b8a9cf7ac9672f16051cede7
Change the behavior of path.extname

Make path.extname return an empty string also if:
- The last dot is not in the last path component
- The last dot starts the last path component
doc/api.markdown
lib/path.js
test/simple/test-path.js