{"action":"created","comment":{"url":"https://api.github.com/repos/theonion/onion-sticky/pulls/comments/47409833","id":47409833,"diff_hunk":"@@ -95,7 +95,7 @@ var OnionSticky = (function () {\n   }, {\n     key: 'calculateScrollDirection',\n     value: function calculateScrollDirection() {\n-      if (!this._lastScrollTop) {\n+      if (this._lastScrollTop === undefined) {","path":"dist/onion-sticky.browserify-shim.js","position":5,"original_position":5,"commit_id":"844dedd6a7616718ed1d9757603074c7c82b6abf","original_commit_id":"844dedd6a7616718ed1d9757603074c7c82b6abf","user":{"login":"kand","id":484777,"avatar_url":"https://avatars.githubusercontent.com/u/484777?v=3","gravatar_id":"","url":"https://api.github.com/users/kand","html_url":"https://github.com/kand","followers_url":"https://api.github.com/users/kand/followers","following_url":"https://api.github.com/users/kand/following{/other_user}","gists_url":"https://api.github.com/users/kand/gists{/gist_id}","starred_url":"https://api.github.com/users/kand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kand/subscriptions","organizations_url":"https://api.github.com/users/kand/orgs","repos_url":"https://api.github.com/users/kand/repos","events_url":"https://api.github.com/users/kand/events{/privacy}","received_events_url":"https://api.github.com/users/kand/received_events","type":"User","site_admin":false},"body":"Use `typeof(this._lastScrollTop) === 'undefined'`, slightly more robust.","created_at":"2015-12-11T21:52:36Z","updated_at":"2015-12-11T21:52:36Z","html_url":"https://github.com/theonion/onion-sticky/pull/2#discussion_r47409833","pull_request_url":"https://api.github.com/repos/theonion/onion-sticky/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/comments/47409833"},"html":{"href":"https://github.com/theonion/onion-sticky/pull/2#discussion_r47409833"},"pull_request":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/theonion/onion-sticky/pulls/2","id":53309861,"html_url":"https://github.com/theonion/onion-sticky/pull/2","diff_url":"https://github.com/theonion/onion-sticky/pull/2.diff","patch_url":"https://github.com/theonion/onion-sticky/pull/2.patch","issue_url":"https://api.github.com/repos/theonion/onion-sticky/issues/2","number":2,"state":"open","locked":false,"title":"repaint when loaded out of viewport","user":{"login":"collin","id":7783,"avatar_url":"https://avatars.githubusercontent.com/u/7783?v=3","gravatar_id":"","url":"https://api.github.com/users/collin","html_url":"https://github.com/collin","followers_url":"https://api.github.com/users/collin/followers","following_url":"https://api.github.com/users/collin/following{/other_user}","gists_url":"https://api.github.com/users/collin/gists{/gist_id}","starred_url":"https://api.github.com/users/collin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collin/subscriptions","organizations_url":"https://api.github.com/users/collin/orgs","repos_url":"https://api.github.com/users/collin/repos","events_url":"https://api.github.com/users/collin/events{/privacy}","received_events_url":"https://api.github.com/users/collin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-10T20:10:47Z","updated_at":"2015-12-11T21:52:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"398d70582662fbb76ac2efccfa2465ccf85a623d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theonion/onion-sticky/pulls/2/commits","review_comments_url":"https://api.github.com/repos/theonion/onion-sticky/pulls/2/comments","review_comment_url":"https://api.github.com/repos/theonion/onion-sticky/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theonion/onion-sticky/issues/2/comments","statuses_url":"https://api.github.com/repos/theonion/onion-sticky/statuses/844dedd6a7616718ed1d9757603074c7c82b6abf","head":{"label":"theonion:init-scrolled-down","ref":"init-scrolled-down","sha":"844dedd6a7616718ed1d9757603074c7c82b6abf","user":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"repo":{"id":44197412,"name":"onion-sticky","full_name":"theonion/onion-sticky","owner":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theonion/onion-sticky","description":"A sticky sidebar implementation for onion properties.","fork":false,"url":"https://api.github.com/repos/theonion/onion-sticky","forks_url":"https://api.github.com/repos/theonion/onion-sticky/forks","keys_url":"https://api.github.com/repos/theonion/onion-sticky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theonion/onion-sticky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theonion/onion-sticky/teams","hooks_url":"https://api.github.com/repos/theonion/onion-sticky/hooks","issue_events_url":"https://api.github.com/repos/theonion/onion-sticky/issues/events{/number}","events_url":"https://api.github.com/repos/theonion/onion-sticky/events","assignees_url":"https://api.github.com/repos/theonion/onion-sticky/assignees{/user}","branches_url":"https://api.github.com/repos/theonion/onion-sticky/branches{/branch}","tags_url":"https://api.github.com/repos/theonion/onion-sticky/tags","blobs_url":"https://api.github.com/repos/theonion/onion-sticky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theonion/onion-sticky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theonion/onion-sticky/git/refs{/sha}","trees_url":"https://api.github.com/repos/theonion/onion-sticky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theonion/onion-sticky/statuses/{sha}","languages_url":"https://api.github.com/repos/theonion/onion-sticky/languages","stargazers_url":"https://api.github.com/repos/theonion/onion-sticky/stargazers","contributors_url":"https://api.github.com/repos/theonion/onion-sticky/contributors","subscribers_url":"https://api.github.com/repos/theonion/onion-sticky/subscribers","subscription_url":"https://api.github.com/repos/theonion/onion-sticky/subscription","commits_url":"https://api.github.com/repos/theonion/onion-sticky/commits{/sha}","git_commits_url":"https://api.github.com/repos/theonion/onion-sticky/git/commits{/sha}","comments_url":"https://api.github.com/repos/theonion/onion-sticky/comments{/number}","issue_comment_url":"https://api.github.com/repos/theonion/onion-sticky/issues/comments{/number}","contents_url":"https://api.github.com/repos/theonion/onion-sticky/contents/{+path}","compare_url":"https://api.github.com/repos/theonion/onion-sticky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theonion/onion-sticky/merges","archive_url":"https://api.github.com/repos/theonion/onion-sticky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theonion/onion-sticky/downloads","issues_url":"https://api.github.com/repos/theonion/onion-sticky/issues{/number}","pulls_url":"https://api.github.com/repos/theonion/onion-sticky/pulls{/number}","milestones_url":"https://api.github.com/repos/theonion/onion-sticky/milestones{/number}","notifications_url":"https://api.github.com/repos/theonion/onion-sticky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theonion/onion-sticky/labels{/name}","releases_url":"https://api.github.com/repos/theonion/onion-sticky/releases{/id}","created_at":"2015-10-13T18:47:12Z","updated_at":"2015-10-13T21:20:39Z","pushed_at":"2015-12-11T18:53:14Z","git_url":"git://github.com/theonion/onion-sticky.git","ssh_url":"git@github.com:theonion/onion-sticky.git","clone_url":"https://github.com/theonion/onion-sticky.git","svn_url":"https://github.com/theonion/onion-sticky","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"theonion:master","ref":"master","sha":"2e295aec1b786bf2ba09f3f4d7a5ba367e117b10","user":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"repo":{"id":44197412,"name":"onion-sticky","full_name":"theonion/onion-sticky","owner":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theonion/onion-sticky","description":"A sticky sidebar implementation for onion properties.","fork":false,"url":"https://api.github.com/repos/theonion/onion-sticky","forks_url":"https://api.github.com/repos/theonion/onion-sticky/forks","keys_url":"https://api.github.com/repos/theonion/onion-sticky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theonion/onion-sticky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theonion/onion-sticky/teams","hooks_url":"https://api.github.com/repos/theonion/onion-sticky/hooks","issue_events_url":"https://api.github.com/repos/theonion/onion-sticky/issues/events{/number}","events_url":"https://api.github.com/repos/theonion/onion-sticky/events","assignees_url":"https://api.github.com/repos/theonion/onion-sticky/assignees{/user}","branches_url":"https://api.github.com/repos/theonion/onion-sticky/branches{/branch}","tags_url":"https://api.github.com/repos/theonion/onion-sticky/tags","blobs_url":"https://api.github.com/repos/theonion/onion-sticky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theonion/onion-sticky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theonion/onion-sticky/git/refs{/sha}","trees_url":"https://api.github.com/repos/theonion/onion-sticky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theonion/onion-sticky/statuses/{sha}","languages_url":"https://api.github.com/repos/theonion/onion-sticky/languages","stargazers_url":"https://api.github.com/repos/theonion/onion-sticky/stargazers","contributors_url":"https://api.github.com/repos/theonion/onion-sticky/contributors","subscribers_url":"https://api.github.com/repos/theonion/onion-sticky/subscribers","subscription_url":"https://api.github.com/repos/theonion/onion-sticky/subscription","commits_url":"https://api.github.com/repos/theonion/onion-sticky/commits{/sha}","git_commits_url":"https://api.github.com/repos/theonion/onion-sticky/git/commits{/sha}","comments_url":"https://api.github.com/repos/theonion/onion-sticky/comments{/number}","issue_comment_url":"https://api.github.com/repos/theonion/onion-sticky/issues/comments{/number}","contents_url":"https://api.github.com/repos/theonion/onion-sticky/contents/{+path}","compare_url":"https://api.github.com/repos/theonion/onion-sticky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theonion/onion-sticky/merges","archive_url":"https://api.github.com/repos/theonion/onion-sticky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theonion/onion-sticky/downloads","issues_url":"https://api.github.com/repos/theonion/onion-sticky/issues{/number}","pulls_url":"https://api.github.com/repos/theonion/onion-sticky/pulls{/number}","milestones_url":"https://api.github.com/repos/theonion/onion-sticky/milestones{/number}","notifications_url":"https://api.github.com/repos/theonion/onion-sticky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theonion/onion-sticky/labels{/name}","releases_url":"https://api.github.com/repos/theonion/onion-sticky/releases{/id}","created_at":"2015-10-13T18:47:12Z","updated_at":"2015-10-13T21:20:39Z","pushed_at":"2015-12-11T18:53:14Z","git_url":"git://github.com/theonion/onion-sticky.git","ssh_url":"git@github.com:theonion/onion-sticky.git","clone_url":"https://github.com/theonion/onion-sticky.git","svn_url":"https://github.com/theonion/onion-sticky","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/2"},"html":{"href":"https://github.com/theonion/onion-sticky/pull/2"},"issue":{"href":"https://api.github.com/repos/theonion/onion-sticky/issues/2"},"comments":{"href":"https://api.github.com/repos/theonion/onion-sticky/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theonion/onion-sticky/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/theonion/onion-sticky/statuses/844dedd6a7616718ed1d9757603074c7c82b6abf"}}}}