projects
/
VSoRC
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
controller and vsorc data viewers done
[VSoRC/.git]
/
node_modules
/
express-ws
/
lib
/
trailing-slash.js
1
'use strict';
2
3
Object.defineProperty(exports, "__esModule", {
4
value: true
5
});
6
exports.default = addTrailingSlash;
7
function addTrailingSlash(string) {
8
var suffixed = string;
9
if (suffixed.charAt(suffixed.length - 1) !== '/') {
10
suffixed = suffixed + '/';
11
}
12
return suffixed;
13
}