source:
frontend/node_modules/clean-css/lib/reader/normalize-path.js
| Last change on this file was 9af201e, checked in by , 12 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.
