This website requires JavaScript.
Explore
Help
Sign In
MirrorSave
/
budibase
mirror of
https://github.com/Budibase/budibase.git
Watch
1
Star
0
Fork
You've already forked budibase
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
cff58f6a2d
budibase
/
packages
/
client
/
src
/
common
/
trimSlash.js
2 lines
62 B
JavaScript
Raw
Normal View
History
Unescape
Escape
running prettier over codebase, removing merge files
2020-02-03 10:24:25 +01:00
export
const
trimSlash
=
str
=>
str
.
replace
(
/^\/+|\/+$/g
,
""
)