Use this instead of @ in CoffeeScript

We're using `this` most of the time, and it's what's used in JavaScript.
This commit is contained in:
Javi Martín
2019-06-30 19:12:22 +02:00
parent aa458b8c87
commit 747767386a
4 changed files with 9 additions and 9 deletions

View File

@@ -17,9 +17,9 @@ App.Documentable =
initializeDirectUploadInput: (input) ->
inputData = @buildData([], input)
inputData = this.buildData([], input)
@initializeRemoveCachedDocumentLink(input, inputData)
this.initializeRemoveCachedDocumentLink(input, inputData)
$(input).fileupload