Closed graphicore closed 9 years ago
...depths
found by @felipesanches
Cause was a noteworthy javascript syntax fauxpas where essentially in the call (true ? this.myMethod : this:otherMethod)() the conditional would return the bare method without a binding to this in the subsequent call :-)
this
alternatively, calling the functions that roll out of an fn.bind(this) also solves that problem
fn.bind(this)
yeah, also .call(this, does the job.
.call(this,
...depths
found by @felipesanches
Cause was a noteworthy javascript syntax fauxpas where essentially in the call (true ? this.myMethod : this:otherMethod)() the conditional would return the bare method without a binding to
this
in the subsequent call :-)