Andrey Mikhaylov (lolmaus)

Results 319 comments of Andrey Mikhaylov (lolmaus)

@disnet, do you have plans to?

@disnet, how is Contracts.coffee integrating into the CoffeeScript compiler? The fact that Contracts.coffee uses the vanilla compiler with an extra flag gives hope that the [coffeeify transform](https://github.com/jnordberg/coffeeify/blob/master/index.js) can be reused...

@ghost, care to look into this?

@disnet, oh, are you bundling your own version of the CoffeeScript compiler? The original CoffeeScript compiler has made a number of releases and yours seems to be way behind. If...

Please confirm that this issue belongs here so that I can close the other one.

> I don't think there is a legit way to trigger click event handler over a disabled button. Also, if a button is disabled it would not trigger form submit....

>> Often browsers grey out such controls and it won't receive any browsing events That does not sound like a guarantee, does it? *** > because there is no point...

Another non-useless case is attempting to submit a form and triggering form validation errors. Yes, this can be replicated by `blur()`. But again, it requries different logic for cases that...

> "Every" in tests sounds suspicuos to me. Often it may lead to fragility, cause if some new control is added to the app, the end result would differ, and...

> ```js > if (!e.message.startsWith('Can not `click` disabled')) { > ``` Then multiple tests will break when the phrasing is updated in the dependency. 👎 That's unlikely, of course, but...