{"action":"created","comment":{"url":"https://api.github.com/repos/bem/bem-site-engine/pulls/comments/35868979","id":35868979,"diff_hunk":"@@ -7,6 +7,11 @@ provide(BEMDOM.decl(this.name, {\n             inited: function () {\n                 this.countExamples = this.findBlocksInside('block-example').length;\n                 this.count = 0;\n+                this._content = this.findBlockInside('content').domElem;\n+\n+                this.bindTo('scroll', function() {\n+                    throttle(this.setMod(this.elem('arrow-up'), 'visible', (this.domElem.scrollTop() > 100)), 100);","path":"src/blocks/common.blocks/content/content.js","position":13,"original_position":13,"commit_id":"94eb8044d4fb7a03accdea26f8b0d87c620da39f","original_commit_id":"94eb8044d4fb7a03accdea26f8b0d87c620da39f","user":{"login":"gela-d","id":1333220,"avatar_url":"https://avatars.githubusercontent.com/u/1333220?v=3","gravatar_id":"","url":"https://api.github.com/users/gela-d","html_url":"https://github.com/gela-d","followers_url":"https://api.github.com/users/gela-d/followers","following_url":"https://api.github.com/users/gela-d/following{/other_user}","gists_url":"https://api.github.com/users/gela-d/gists{/gist_id}","starred_url":"https://api.github.com/users/gela-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gela-d/subscriptions","organizations_url":"https://api.github.com/users/gela-d/orgs","repos_url":"https://api.github.com/users/gela-d/repos","events_url":"https://api.github.com/users/gela-d/events{/privacy}","received_events_url":"https://api.github.com/users/gela-d/received_events","type":"User","site_admin":false},"body":"@tadatuta можешь объяснить принципиальную разницу между твоим и моим вариантом?","created_at":"2015-07-30T13:20:00Z","updated_at":"2015-07-30T13:20:00Z","html_url":"https://github.com/bem/bem-site-engine/pull/197#discussion_r35868979","pull_request_url":"https://api.github.com/repos/bem/bem-site-engine/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/comments/35868979"},"html":{"href":"https://github.com/bem/bem-site-engine/pull/197#discussion_r35868979"},"pull_request":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/bem/bem-site-engine/pulls/197","id":41135196,"html_url":"https://github.com/bem/bem-site-engine/pull/197","diff_url":"https://github.com/bem/bem-site-engine/pull/197.diff","patch_url":"https://github.com/bem/bem-site-engine/pull/197.patch","issue_url":"https://api.github.com/repos/bem/bem-site-engine/issues/197","number":197,"state":"open","locked":false,"title":"Arrow: scroll to top","user":{"login":"gela-d","id":1333220,"avatar_url":"https://avatars.githubusercontent.com/u/1333220?v=3","gravatar_id":"","url":"https://api.github.com/users/gela-d","html_url":"https://github.com/gela-d","followers_url":"https://api.github.com/users/gela-d/followers","following_url":"https://api.github.com/users/gela-d/following{/other_user}","gists_url":"https://api.github.com/users/gela-d/gists{/gist_id}","starred_url":"https://api.github.com/users/gela-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gela-d/subscriptions","organizations_url":"https://api.github.com/users/gela-d/orgs","repos_url":"https://api.github.com/users/gela-d/repos","events_url":"https://api.github.com/users/gela-d/events{/privacy}","received_events_url":"https://api.github.com/users/gela-d/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T15:16:46Z","updated_at":"2015-07-30T13:20:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"010c3bca58cfe982ca9a34f1e0895ee890e416b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem/bem-site-engine/pulls/197/commits","review_comments_url":"https://api.github.com/repos/bem/bem-site-engine/pulls/197/comments","review_comment_url":"https://api.github.com/repos/bem/bem-site-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bem/bem-site-engine/issues/197/comments","statuses_url":"https://api.github.com/repos/bem/bem-site-engine/statuses/94eb8044d4fb7a03accdea26f8b0d87c620da39f","head":{"label":"bem:BEMINFO-926","ref":"BEMINFO-926","sha":"94eb8044d4fb7a03accdea26f8b0d87c620da39f","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":21749342,"name":"bem-site-engine","full_name":"bem/bem-site-engine","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-site-engine","description":"BEM CMS based on Express framework.","fork":false,"url":"https://api.github.com/repos/bem/bem-site-engine","forks_url":"https://api.github.com/repos/bem/bem-site-engine/forks","keys_url":"https://api.github.com/repos/bem/bem-site-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-site-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-site-engine/teams","hooks_url":"https://api.github.com/repos/bem/bem-site-engine/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-site-engine/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-site-engine/events","assignees_url":"https://api.github.com/repos/bem/bem-site-engine/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-site-engine/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-site-engine/tags","blobs_url":"https://api.github.com/repos/bem/bem-site-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-site-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-site-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-site-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-site-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-site-engine/languages","stargazers_url":"https://api.github.com/repos/bem/bem-site-engine/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-site-engine/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-site-engine/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-site-engine/subscription","commits_url":"https://api.github.com/repos/bem/bem-site-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-site-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-site-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-site-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem/bem-site-engine/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-site-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-site-engine/merges","archive_url":"https://api.github.com/repos/bem/bem-site-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-site-engine/downloads","issues_url":"https://api.github.com/repos/bem/bem-site-engine/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-site-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-site-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-site-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-site-engine/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-site-engine/releases{/id}","created_at":"2014-07-11T19:54:28Z","updated_at":"2015-07-13T07:51:27Z","pushed_at":"2015-07-30T11:45:10Z","git_url":"git://github.com/bem/bem-site-engine.git","ssh_url":"git@github.com:bem/bem-site-engine.git","clone_url":"https://github.com/bem/bem-site-engine.git","svn_url":"https://github.com/bem/bem-site-engine","homepage":null,"size":5687,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":18,"default_branch":"dev"}},"base":{"label":"bem:leveldb","ref":"leveldb","sha":"d1b1679f378fd5551afcfcb66af1b55981021f69","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":21749342,"name":"bem-site-engine","full_name":"bem/bem-site-engine","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-site-engine","description":"BEM CMS based on Express framework.","fork":false,"url":"https://api.github.com/repos/bem/bem-site-engine","forks_url":"https://api.github.com/repos/bem/bem-site-engine/forks","keys_url":"https://api.github.com/repos/bem/bem-site-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-site-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-site-engine/teams","hooks_url":"https://api.github.com/repos/bem/bem-site-engine/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-site-engine/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-site-engine/events","assignees_url":"https://api.github.com/repos/bem/bem-site-engine/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-site-engine/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-site-engine/tags","blobs_url":"https://api.github.com/repos/bem/bem-site-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-site-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-site-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-site-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-site-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-site-engine/languages","stargazers_url":"https://api.github.com/repos/bem/bem-site-engine/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-site-engine/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-site-engine/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-site-engine/subscription","commits_url":"https://api.github.com/repos/bem/bem-site-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-site-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-site-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-site-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem/bem-site-engine/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-site-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-site-engine/merges","archive_url":"https://api.github.com/repos/bem/bem-site-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-site-engine/downloads","issues_url":"https://api.github.com/repos/bem/bem-site-engine/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-site-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-site-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-site-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-site-engine/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-site-engine/releases{/id}","created_at":"2014-07-11T19:54:28Z","updated_at":"2015-07-13T07:51:27Z","pushed_at":"2015-07-30T11:45:10Z","git_url":"git://github.com/bem/bem-site-engine.git","ssh_url":"git@github.com:bem/bem-site-engine.git","clone_url":"https://github.com/bem/bem-site-engine.git","svn_url":"https://github.com/bem/bem-site-engine","homepage":null,"size":5687,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":18,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/197"},"html":{"href":"https://github.com/bem/bem-site-engine/pull/197"},"issue":{"href":"https://api.github.com/repos/bem/bem-site-engine/issues/197"},"comments":{"href":"https://api.github.com/repos/bem/bem-site-engine/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bem/bem-site-engine/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/bem/bem-site-engine/statuses/94eb8044d4fb7a03accdea26f8b0d87c620da39f"}}}}