diff options
author | Yi, EungJun <semtlenori@gmail.com> | 2012-04-03 01:31:21 +0900 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-05-01 15:19:37 +0200 |
commit | 4bd54dad33722e93bae5a16f6b274d08944c24cc (patch) | |
tree | eba5bcacba54cf48cb29f817f393b523e3ff5b8d /lib/path.js | |
parent | 6ba3e68bd2f9ad582ca0a20e1f42192ab527258e (diff) | |
download | android-node-v8-4bd54dad33722e93bae5a16f6b274d08944c24cc.tar.gz android-node-v8-4bd54dad33722e93bae5a16f6b274d08944c24cc.tar.bz2 android-node-v8-4bd54dad33722e93bae5a16f6b274d08944c24cc.zip |
path: add path.sep to get the path separator.
Diffstat (limited to 'lib/path.js')
-rw-r--r-- | lib/path.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/path.js b/lib/path.js index 148b2af9a1..ad8fd8d787 100644 --- a/lib/path.js +++ b/lib/path.js @@ -258,6 +258,7 @@ if (isWindows) { return outputParts.join('\\'); }; + exports.sep = '\\'; } else /* posix */ { @@ -373,6 +374,7 @@ if (isWindows) { return outputParts.join('/'); }; + exports.sep = '/'; } |