source:
imaps-frontend/node_modules/clean-css/lib/reader/normalize-path.js
Last change on this file was 79a0317, checked in by , 4 days ago | |
---|---|
|
|
File size: 198 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 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.