{"action":"created","issue":{"url":"https://api.github.com/repos/yandex-ui/noscript/issues/429","labels_url":"https://api.github.com/repos/yandex-ui/noscript/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/yandex-ui/noscript/issues/429/comments","events_url":"https://api.github.com/repos/yandex-ui/noscript/issues/429/events","html_url":"https://github.com/yandex-ui/noscript/pull/429","id":41319750,"number":429,"title":"New async collection","user":{"login":"doochik","id":31961,"avatar_url":"https://avatars.githubusercontent.com/u/31961?v=3","gravatar_id":"","url":"https://api.github.com/users/doochik","html_url":"https://github.com/doochik","followers_url":"https://api.github.com/users/doochik/followers","following_url":"https://api.github.com/users/doochik/following{/other_user}","gists_url":"https://api.github.com/users/doochik/gists{/gist_id}","starred_url":"https://api.github.com/users/doochik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doochik/subscriptions","organizations_url":"https://api.github.com/users/doochik/orgs","repos_url":"https://api.github.com/users/doochik/repos","events_url":"https://api.github.com/users/doochik/events{/privacy}","received_events_url":"https://api.github.com/users/doochik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-27T19:13:14Z","updated_at":"2015-02-04T17:19:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yandex-ui/noscript/pulls/429","html_url":"https://github.com/yandex-ui/noscript/pull/429","diff_url":"https://github.com/yandex-ui/noscript/pull/429.diff","patch_url":"https://github.com/yandex-ui/noscript/pull/429.patch"},"body":"Возвращаемся к нашим баранам из #393 :) Этот таск про \"поговорить\", а не про \"мержить\"\r\n\r\nПроблема все та же: есть элемент ViewCollection является асинхронным, то его никто не будет отрисовывать. \r\nС другой стороны, для меня задача звучит \"научить виды понимать, когда завершился update, который их рисует\". Это позволит неасинхронным элементам коллекции дозапрашивать свои данные и перерисовываться. Ведь просто запустить this.update на `ns-view-show` не получится, т.к. в это время работает глобальный апдейте и async он не пустит.\r\n\r\nИтак, благодаря разлиным доработкам ns, первая проблема решилась вот так: https://github.com/yandex-ui/noscript/pull/429/files#diff-99260eb984accfc9a5081d90c62bba1eR323\r\nВторую (более общую задачу) задачу я решил вот так: https://github.com/yandex-ui/noscript/pull/429/files#diff-99260eb984accfc9a5081d90c62bba1eR308\r\n\r\nВсе это - реализация идеи, озвученной вот тут https://github.com/yandex-ui/noscript/issues/393#issuecomment-51774454"},"comment":{"url":"https://api.github.com/repos/yandex-ui/noscript/issues/comments/72896944","html_url":"https://github.com/yandex-ui/noscript/pull/429#issuecomment-72896944","issue_url":"https://api.github.com/repos/yandex-ui/noscript/issues/429","id":72896944,"user":{"login":"doochik","id":31961,"avatar_url":"https://avatars.githubusercontent.com/u/31961?v=3","gravatar_id":"","url":"https://api.github.com/users/doochik","html_url":"https://github.com/doochik","followers_url":"https://api.github.com/users/doochik/followers","following_url":"https://api.github.com/users/doochik/following{/other_user}","gists_url":"https://api.github.com/users/doochik/gists{/gist_id}","starred_url":"https://api.github.com/users/doochik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doochik/subscriptions","organizations_url":"https://api.github.com/users/doochik/orgs","repos_url":"https://api.github.com/users/doochik/repos","events_url":"https://api.github.com/users/doochik/events{/privacy}","received_events_url":"https://api.github.com/users/doochik/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T17:19:43Z","updated_at":"2015-02-04T17:19:43Z","body":"Логирование встроено в update, тут промисы не нужны )"}}