chore: add circle

This commit is contained in:
Henrique Dias authored and GitHub committed 2018-02-01 14:43:54 +00:00
1 parent 1f4d0cc3cd
commit 0595638228
126 files changed
+293 -354

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
function removeLastDir (url) {
var arr = url.split('/')
if (arr.pop() === '') {
arr.pop()
}
return arr.join('/')
}
export default {
removeLastDir: removeLastDir
}