Whitespace cleanup

This commit is contained in:
2019-04-03 17:51:28 +02:00
parent e58db61d2a
commit 1b42d114ad
4 changed files with 16 additions and 16 deletions

View File

@@ -104,8 +104,8 @@ Vue.component('comment-attachment-editor', {
methods: {
/**
* Replaces all spaces with underscore and removes all o
* @param {String} unsafe
* @returns {String}
* @param {String} unsafe
* @returns {String}
*/
makeSafeAttachmentString(unsafe) {
let candidate = (unsafe);
@@ -113,8 +113,8 @@ Vue.component('comment-attachment-editor', {
candidate = candidate
.replace(matchSpace, '_')
.replace(NON_VALID_NAME_REGEXP, '')
return candidate || `${this.oid}`
}
}
});
});