Aleksander Heintz

Results 138 comments of Aleksander Heintz

WRT Chai's `should` (imho) that is rather just implemented as a function. It'll behave (mostly) like C#'s extension methods, in that you could do `foo.bar::should().be.a('function');`. No need for prototype modifications,...

@mockdeep binding functions to object can incur significant performance overhead and memory requirements. You generally don't want to bind all functions.

@bathos In react they do set the context to the element though afaik, just like the DOM does. However people expect the context to be the component class instance instead.

@mockdeep effectively you create a new copy of the function for each instance of your class. Also, depending on how you do it (`Function.prototype.bind`) it also creates indirection which is...

Strictly speaking, javascript only has functions. Not methods.

@mockdeep well, no. There are functions that bind `this` to a lexical scope (ie, `this` is whatever it was where the function was defined). It's not related to the object...

I'd just like to note that the resource-pool mentioned was done by me as a proof of concept. It has basically no features, and was just a test to see...

It's not a config (though, it could be), but rather dealing with different output from git commands. As an example, look at the following: ![image](https://cloud.githubusercontent.com/assets/112334/14706627/245a3196-07c0-11e6-9774-19c7563dbddd.png) If I run `wip`, the...

Same with `join` (and I'm guessing `try_select` and `try_join`).

The most likely cause of `MissingMethodException`s is conflicting versions of libraries and/or DNX itself. Make sure they are the same.