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