Anna Fidanli
Anna Fidanli
It is very convenient to use es5 properties with getter and setter set to observable. This way I can use property without braces and still subscribe for changes (directly to...
Decorate element with css `errorMessageClass` in `validationMessage` binding.
Очень часто нужно добавить элемент в массив по индексу и вернуть новый массив. Такое простое действие каждый раз порождает неприятные конструкции в коде: ``` const newArray = [...array] newArray.splice(index, 0,...
usage example: ``` var items = ko.computed(function () { return [1,2,3,4,5,6]; }); // now I can not write next: var selectedItems = items.filter(function (item) { return item > 3; });...
Weakmap is not supplied by bower package, but is required in code from '../lib/weakmap'. I can not use weakmap, installed independently.
It would be really nice to have dispose method in base class, that calls dispose for every subscription or computed field, created in constructor.
Jscs "2.10.1" requires jsdoc for any anonymous arrow function. It's very inconvenient to write jsdoc for functions inside Array.sort, Array.map, Array.filter etc. Example:  Next config does not help: ```...
I use jscs 2.1.0 with `{"esnext": true, "jsDoc": {"checkRedundantParams": true}}` in WebStorm for inline linting. Jscs highlights param definitions for destructured params (except first) as redundant: ``` javascript class ServerResponsePage...