Promice.resolve().then( () => {
return this.get( 'api').getUser( userId)
}).then( user => {
return Ember.RSVP.hash({
user,
logo: this.get( 'api').getUserLogo( кусок url "api/user/logo/1")
});
});
f ($(window).scrollTop() + $(window).height() >= $(document).height() && !inProcess ){