Create mode + Source view + UI enhancements
This commit is contained in:
1 parent
0f06ab6dc8
commit
16f300f0d5
27 files changed
+437
-84
No files matched your search
@@ -0,0 +1,11 @@
|
||||
|
||||
function makeSafePath(rawPath) {
|
||||
|
||||
let rawParts = _.split(_.trim(rawPath), '/');
|
||||
rawParts = _.map(rawParts, (r) => {
|
||||
return _.kebabCase(_.deburr(_.trim(r)));
|
||||
});
|
||||
|
||||
return _.join(_.filter(rawParts, (r) => { return !_.isEmpty(r); }), '/');
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user