bind this context when currying

This commit is contained in:
Lachlan Kermode
2018-12-10 13:13:48 +00:00
parent 4d0ee142c3
commit 8578bf3ae1

View File

@@ -57,7 +57,7 @@ class Fetcher {
this.auth = null
/** curry to allow convenient syntax with map */
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter)
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter.bind(this))
}
_buildBlueprintsAsync () {