|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
466 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
|---|
| 3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
|---|
| 4 | };
|
|---|
| 5 | Object.defineProperty(exports, "__esModule", { value: true });
|
|---|
| 6 | const path_1 = __importDefault(require("path"));
|
|---|
| 7 | /**
|
|---|
| 8 | * Replaces backslashes with one forward slash
|
|---|
| 9 | * @param input
|
|---|
| 10 | */
|
|---|
| 11 | function forwardSlash(input) {
|
|---|
| 12 | return path_1.default.normalize(input).replace(/\\+/g, '/');
|
|---|
| 13 | }
|
|---|
| 14 | exports.default = forwardSlash;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.