mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-12 21:38:32 +03:00
bind this context when currying
This commit is contained in:
@@ -57,7 +57,7 @@ class Fetcher {
|
|||||||
this.auth = null
|
this.auth = null
|
||||||
|
|
||||||
/** curry to allow convenient syntax with map */
|
/** curry to allow convenient syntax with map */
|
||||||
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter)
|
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter.bind(this))
|
||||||
}
|
}
|
||||||
|
|
||||||
_buildBlueprintsAsync () {
|
_buildBlueprintsAsync () {
|
||||||
|
|||||||
Reference in New Issue
Block a user