source:
imaps-frontend/node_modules/clean-css/lib/reader/normalize-path.js@
79a0317
Last change on this file since 79a0317 was 79a0317, checked in by , 3 days ago | |
---|---|
|
|
File size: 198 bytes |
Line | |
---|---|
1 | var UNIX_SEPARATOR = '/'; |
2 | var WINDOWS_SEPARATOR_PATTERN = /\\/g; |
3 | |
4 | function normalizePath(path) { |
5 | return path.replace(WINDOWS_SEPARATOR_PATTERN, UNIX_SEPARATOR); |
6 | } |
7 | |
8 | module.exports = normalizePath; |
Note:
See TracBrowser
for help on using the repository browser.