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:
@@ -17,9 +17,9 @@ App.Documentable =
|
||||
|
||||
initializeDirectUploadInput: (input) ->
|
||||
|
||||
inputData = @buildData([], input)
|
||||
inputData = this.buildData([], input)
|
||||
|
||||
@initializeRemoveCachedDocumentLink(input, inputData)
|
||||
this.initializeRemoveCachedDocumentLink(input, inputData)
|
||||
|
||||
$(input).fileupload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user