{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-mvc/issues/159","labels_url":"https://api.github.com/repos/bem/bem-mvc/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-mvc/issues/159/comments","events_url":"https://api.github.com/repos/bem/bem-mvc/issues/159/events","html_url":"https://github.com/bem/bem-mvc/issues/159","id":108933483,"number":159,"title":"isEqual()","user":{"login":"sullenor","id":5006221,"avatar_url":"https://avatars.githubusercontent.com/u/5006221?v=3","gravatar_id":"","url":"https://api.github.com/users/sullenor","html_url":"https://github.com/sullenor","followers_url":"https://api.github.com/users/sullenor/followers","following_url":"https://api.github.com/users/sullenor/following{/other_user}","gists_url":"https://api.github.com/users/sullenor/gists{/gist_id}","starred_url":"https://api.github.com/users/sullenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sullenor/subscriptions","organizations_url":"https://api.github.com/users/sullenor/orgs","repos_url":"https://api.github.com/users/sullenor/repos","events_url":"https://api.github.com/users/sullenor/events{/privacy}","received_events_url":"https://api.github.com/users/sullenor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-29T18:44:15Z","updated_at":"2015-10-08T17:06:17Z","closed_at":null,"body":"Столкнулся с необычным поведением, но потом почитал код и понял что оно предусмотрено :)\r\nВообщем хочу поговорить про реализацию данной функции: https://github.com/bem/bem-mvc/blob/master/common.blocks/i-model/i-model.js#L502-L515\r\n\r\nМой кейс такой. Я использую коллекцию моделек (models-list) и когда вызываю метод `set`, в который передаю новый список моделек, то получается, что если новые модельки совпадают по значению, а также совпадает их количество, то данные в коллекции не обновляются.\r\n\r\nА смущает тем, что у меня разные биндинги навешаны на разные дочерние модельки и когда я ожидаю, что коллекция обновиться (а она не обновляется) у меня возникает небольшой колапс: интерфейс перестает реагировать.\r\n\r\nСобственно вопрос такой, можем ли мы доработать models-list, чтобы он сравнивал модели по id или мне лучше пересмотреть мою реализацию интерфейса?"},"comment":{"url":"https://api.github.com/repos/bem/bem-mvc/issues/comments/146625582","html_url":"https://github.com/bem/bem-mvc/issues/159#issuecomment-146625582","issue_url":"https://api.github.com/repos/bem/bem-mvc/issues/159","id":146625582,"user":{"login":"sullenor","id":5006221,"avatar_url":"https://avatars.githubusercontent.com/u/5006221?v=3","gravatar_id":"","url":"https://api.github.com/users/sullenor","html_url":"https://github.com/sullenor","followers_url":"https://api.github.com/users/sullenor/followers","following_url":"https://api.github.com/users/sullenor/following{/other_user}","gists_url":"https://api.github.com/users/sullenor/gists{/gist_id}","starred_url":"https://api.github.com/users/sullenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sullenor/subscriptions","organizations_url":"https://api.github.com/users/sullenor/orgs","repos_url":"https://api.github.com/users/sullenor/repos","events_url":"https://api.github.com/users/sullenor/events{/privacy}","received_events_url":"https://api.github.com/users/sullenor/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T17:06:17Z","updated_at":"2015-10-08T17:06:17Z","body":"Сейчас опробую твой коммит :)"}}