{"action":"created","comment":{"url":"https://api.github.com/repos/michalsnik/aos/pulls/comments/222122630","pull_request_review_id":160933602,"id":222122630,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjEyMjYzMA==","diff_hunk":"@@ -24,9 +24,10 @@ const setState = function (el, top, once) {\n  * @param  {bool} once               plugin option\n  * @return {void}\n  */\n-const handleScroll = function ($elements, once) {\n-  const scrollTop = window.pageYOffset;\n-  const windowHeight = window.innerHeight;\n+const handleScroll = function ($elements, once, container) {","path":"src/js/helpers/handleScroll.js","position":7,"original_position":7,"commit_id":"9b3104a388357a691a80dbda05a8466e5ce09373","original_commit_id":"9b3104a388357a691a80dbda05a8466e5ce09373","user":{"login":"ncoden","id":9939075,"node_id":"MDQ6VXNlcjk5MzkwNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/9939075?v=4","gravatar_id":"","url":"https://api.github.com/users/ncoden","html_url":"https://github.com/ncoden","followers_url":"https://api.github.com/users/ncoden/followers","following_url":"https://api.github.com/users/ncoden/following{/other_user}","gists_url":"https://api.github.com/users/ncoden/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoden/subscriptions","organizations_url":"https://api.github.com/users/ncoden/orgs","repos_url":"https://api.github.com/users/ncoden/repos","events_url":"https://api.github.com/users/ncoden/events{/privacy}","received_events_url":"https://api.github.com/users/ncoden/received_events","type":"User","site_admin":false},"body":"Please update the documentation aboe this method and add `container`. (note: duplicate of #393)","created_at":"2018-10-02T21:44:52Z","updated_at":"2018-10-02T21:48:25Z","html_url":"https://github.com/michalsnik/aos/pull/256#discussion_r222122630","pull_request_url":"https://api.github.com/repos/michalsnik/aos/pulls/256","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/comments/222122630"},"html":{"href":"https://github.com/michalsnik/aos/pull/256#discussion_r222122630"},"pull_request":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/256"}}},"pull_request":{"url":"https://api.github.com/repos/michalsnik/aos/pulls/256","id":160162983,"node_id":"MDExOlB1bGxSZXF1ZXN0MTYwMTYyOTgz","html_url":"https://github.com/michalsnik/aos/pull/256","diff_url":"https://github.com/michalsnik/aos/pull/256.diff","patch_url":"https://github.com/michalsnik/aos/pull/256.patch","issue_url":"https://api.github.com/repos/michalsnik/aos/issues/256","number":256,"state":"open","locked":false,"title":"Polymer Webcomponent compatibility","user":{"login":"netoya","id":844524,"node_id":"MDQ6VXNlcjg0NDUyNA==","avatar_url":"https://avatars1.githubusercontent.com/u/844524?v=4","gravatar_id":"","url":"https://api.github.com/users/netoya","html_url":"https://github.com/netoya","followers_url":"https://api.github.com/users/netoya/followers","following_url":"https://api.github.com/users/netoya/following{/other_user}","gists_url":"https://api.github.com/users/netoya/gists{/gist_id}","starred_url":"https://api.github.com/users/netoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netoya/subscriptions","organizations_url":"https://api.github.com/users/netoya/orgs","repos_url":"https://api.github.com/users/netoya/repos","events_url":"https://api.github.com/users/netoya/events{/privacy}","received_events_url":"https://api.github.com/users/netoya/received_events","type":"User","site_admin":false},"body":"To use AOS with Polymer.\r\n\r\n- Add CSS\r\n```\r\n<dom-module id=\"my-view1\">\r\n  <template>\r\n    <link rel=\"stylesheet\" href=\"../bower_components/aos/dist/aos.css\" />\r\n```\r\n\r\n- Config\r\n```\r\n    attached: function () {\r\n      els = AOS.init({\r\n        offset: 200,\r\n        duration: 600,\r\n        easing: 'ease-in-sine',\r\n        delay: 100,\r\n        root: this, # your custom elment\r\n        scrollContainer: this.parentElement.parentElement.$.contentContainer # you scroll bar container \r\n      });\r\n```","created_at":"2017-12-26T20:03:48Z","updated_at":"2018-10-02T21:48:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c426a236edae397e65101528290003aff5b9d5de","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":393166398,"node_id":"MDU6TGFiZWwzOTMxNjYzOTg=","url":"https://api.github.com/repos/michalsnik/aos/labels/in%20consideration","name":"in consideration","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/michalsnik/aos/pulls/256/commits","review_comments_url":"https://api.github.com/repos/michalsnik/aos/pulls/256/comments","review_comment_url":"https://api.github.com/repos/michalsnik/aos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michalsnik/aos/issues/256/comments","statuses_url":"https://api.github.com/repos/michalsnik/aos/statuses/9b3104a388357a691a80dbda05a8466e5ce09373","head":{"label":"netoya:master","ref":"master","sha":"9b3104a388357a691a80dbda05a8466e5ce09373","user":{"login":"netoya","id":844524,"node_id":"MDQ6VXNlcjg0NDUyNA==","avatar_url":"https://avatars1.githubusercontent.com/u/844524?v=4","gravatar_id":"","url":"https://api.github.com/users/netoya","html_url":"https://github.com/netoya","followers_url":"https://api.github.com/users/netoya/followers","following_url":"https://api.github.com/users/netoya/following{/other_user}","gists_url":"https://api.github.com/users/netoya/gists{/gist_id}","starred_url":"https://api.github.com/users/netoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netoya/subscriptions","organizations_url":"https://api.github.com/users/netoya/orgs","repos_url":"https://api.github.com/users/netoya/repos","events_url":"https://api.github.com/users/netoya/events{/privacy}","received_events_url":"https://api.github.com/users/netoya/received_events","type":"User","site_admin":false},"repo":{"id":115435381,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU0MzUzODE=","name":"aos","full_name":"netoya/aos","private":false,"owner":{"login":"netoya","id":844524,"node_id":"MDQ6VXNlcjg0NDUyNA==","avatar_url":"https://avatars1.githubusercontent.com/u/844524?v=4","gravatar_id":"","url":"https://api.github.com/users/netoya","html_url":"https://github.com/netoya","followers_url":"https://api.github.com/users/netoya/followers","following_url":"https://api.github.com/users/netoya/following{/other_user}","gists_url":"https://api.github.com/users/netoya/gists{/gist_id}","starred_url":"https://api.github.com/users/netoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netoya/subscriptions","organizations_url":"https://api.github.com/users/netoya/orgs","repos_url":"https://api.github.com/users/netoya/repos","events_url":"https://api.github.com/users/netoya/events{/privacy}","received_events_url":"https://api.github.com/users/netoya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/netoya/aos","description":"Animate on scroll library","fork":true,"url":"https://api.github.com/repos/netoya/aos","forks_url":"https://api.github.com/repos/netoya/aos/forks","keys_url":"https://api.github.com/repos/netoya/aos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netoya/aos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netoya/aos/teams","hooks_url":"https://api.github.com/repos/netoya/aos/hooks","issue_events_url":"https://api.github.com/repos/netoya/aos/issues/events{/number}","events_url":"https://api.github.com/repos/netoya/aos/events","assignees_url":"https://api.github.com/repos/netoya/aos/assignees{/user}","branches_url":"https://api.github.com/repos/netoya/aos/branches{/branch}","tags_url":"https://api.github.com/repos/netoya/aos/tags","blobs_url":"https://api.github.com/repos/netoya/aos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netoya/aos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netoya/aos/git/refs{/sha}","trees_url":"https://api.github.com/repos/netoya/aos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netoya/aos/statuses/{sha}","languages_url":"https://api.github.com/repos/netoya/aos/languages","stargazers_url":"https://api.github.com/repos/netoya/aos/stargazers","contributors_url":"https://api.github.com/repos/netoya/aos/contributors","subscribers_url":"https://api.github.com/repos/netoya/aos/subscribers","subscription_url":"https://api.github.com/repos/netoya/aos/subscription","commits_url":"https://api.github.com/repos/netoya/aos/commits{/sha}","git_commits_url":"https://api.github.com/repos/netoya/aos/git/commits{/sha}","comments_url":"https://api.github.com/repos/netoya/aos/comments{/number}","issue_comment_url":"https://api.github.com/repos/netoya/aos/issues/comments{/number}","contents_url":"https://api.github.com/repos/netoya/aos/contents/{+path}","compare_url":"https://api.github.com/repos/netoya/aos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netoya/aos/merges","archive_url":"https://api.github.com/repos/netoya/aos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netoya/aos/downloads","issues_url":"https://api.github.com/repos/netoya/aos/issues{/number}","pulls_url":"https://api.github.com/repos/netoya/aos/pulls{/number}","milestones_url":"https://api.github.com/repos/netoya/aos/milestones{/number}","notifications_url":"https://api.github.com/repos/netoya/aos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netoya/aos/labels{/name}","releases_url":"https://api.github.com/repos/netoya/aos/releases{/id}","deployments_url":"https://api.github.com/repos/netoya/aos/deployments","created_at":"2017-12-26T15:53:13Z","updated_at":"2017-12-26T15:53:15Z","pushed_at":"2017-12-26T19:57:08Z","git_url":"git://github.com/netoya/aos.git","ssh_url":"git@github.com:netoya/aos.git","clone_url":"https://github.com/netoya/aos.git","svn_url":"https://github.com/netoya/aos","homepage":null,"size":1094,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"michalsnik:master","ref":"master","sha":"836dbc05c09bdac4d245d3ae6aaad4242dd4638c","user":{"login":"michalsnik","id":4093559,"node_id":"MDQ6VXNlcjQwOTM1NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4093559?v=4","gravatar_id":"","url":"https://api.github.com/users/michalsnik","html_url":"https://github.com/michalsnik","followers_url":"https://api.github.com/users/michalsnik/followers","following_url":"https://api.github.com/users/michalsnik/following{/other_user}","gists_url":"https://api.github.com/users/michalsnik/gists{/gist_id}","starred_url":"https://api.github.com/users/michalsnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalsnik/subscriptions","organizations_url":"https://api.github.com/users/michalsnik/orgs","repos_url":"https://api.github.com/users/michalsnik/repos","events_url":"https://api.github.com/users/michalsnik/events{/privacy}","received_events_url":"https://api.github.com/users/michalsnik/received_events","type":"User","site_admin":false},"repo":{"id":38836015,"node_id":"MDEwOlJlcG9zaXRvcnkzODgzNjAxNQ==","name":"aos","full_name":"michalsnik/aos","private":false,"owner":{"login":"michalsnik","id":4093559,"node_id":"MDQ6VXNlcjQwOTM1NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4093559?v=4","gravatar_id":"","url":"https://api.github.com/users/michalsnik","html_url":"https://github.com/michalsnik","followers_url":"https://api.github.com/users/michalsnik/followers","following_url":"https://api.github.com/users/michalsnik/following{/other_user}","gists_url":"https://api.github.com/users/michalsnik/gists{/gist_id}","starred_url":"https://api.github.com/users/michalsnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalsnik/subscriptions","organizations_url":"https://api.github.com/users/michalsnik/orgs","repos_url":"https://api.github.com/users/michalsnik/repos","events_url":"https://api.github.com/users/michalsnik/events{/privacy}","received_events_url":"https://api.github.com/users/michalsnik/received_events","type":"User","site_admin":false},"html_url":"https://github.com/michalsnik/aos","description":"Animate on scroll library","fork":false,"url":"https://api.github.com/repos/michalsnik/aos","forks_url":"https://api.github.com/repos/michalsnik/aos/forks","keys_url":"https://api.github.com/repos/michalsnik/aos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michalsnik/aos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michalsnik/aos/teams","hooks_url":"https://api.github.com/repos/michalsnik/aos/hooks","issue_events_url":"https://api.github.com/repos/michalsnik/aos/issues/events{/number}","events_url":"https://api.github.com/repos/michalsnik/aos/events","assignees_url":"https://api.github.com/repos/michalsnik/aos/assignees{/user}","branches_url":"https://api.github.com/repos/michalsnik/aos/branches{/branch}","tags_url":"https://api.github.com/repos/michalsnik/aos/tags","blobs_url":"https://api.github.com/repos/michalsnik/aos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michalsnik/aos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michalsnik/aos/git/refs{/sha}","trees_url":"https://api.github.com/repos/michalsnik/aos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michalsnik/aos/statuses/{sha}","languages_url":"https://api.github.com/repos/michalsnik/aos/languages","stargazers_url":"https://api.github.com/repos/michalsnik/aos/stargazers","contributors_url":"https://api.github.com/repos/michalsnik/aos/contributors","subscribers_url":"https://api.github.com/repos/michalsnik/aos/subscribers","subscription_url":"https://api.github.com/repos/michalsnik/aos/subscription","commits_url":"https://api.github.com/repos/michalsnik/aos/commits{/sha}","git_commits_url":"https://api.github.com/repos/michalsnik/aos/git/commits{/sha}","comments_url":"https://api.github.com/repos/michalsnik/aos/comments{/number}","issue_comment_url":"https://api.github.com/repos/michalsnik/aos/issues/comments{/number}","contents_url":"https://api.github.com/repos/michalsnik/aos/contents/{+path}","compare_url":"https://api.github.com/repos/michalsnik/aos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michalsnik/aos/merges","archive_url":"https://api.github.com/repos/michalsnik/aos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michalsnik/aos/downloads","issues_url":"https://api.github.com/repos/michalsnik/aos/issues{/number}","pulls_url":"https://api.github.com/repos/michalsnik/aos/pulls{/number}","milestones_url":"https://api.github.com/repos/michalsnik/aos/milestones{/number}","notifications_url":"https://api.github.com/repos/michalsnik/aos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michalsnik/aos/labels{/name}","releases_url":"https://api.github.com/repos/michalsnik/aos/releases{/id}","deployments_url":"https://api.github.com/repos/michalsnik/aos/deployments","created_at":"2015-07-09T17:49:00Z","updated_at":"2018-10-02T14:53:22Z","pushed_at":"2018-10-02T20:48:29Z","git_url":"git://github.com/michalsnik/aos.git","ssh_url":"git@github.com:michalsnik/aos.git","clone_url":"https://github.com/michalsnik/aos.git","svn_url":"https://github.com/michalsnik/aos","homepage":null,"size":1295,"stargazers_count":7506,"watchers_count":7506,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":811,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":811,"open_issues":33,"watchers":7506,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/256"},"html":{"href":"https://github.com/michalsnik/aos/pull/256"},"issue":{"href":"https://api.github.com/repos/michalsnik/aos/issues/256"},"comments":{"href":"https://api.github.com/repos/michalsnik/aos/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michalsnik/aos/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/michalsnik/aos/statuses/9b3104a388357a691a80dbda05a8466e5ce09373"}},"author_association":"NONE"}}
{"actor":{"display_login":"ncoden"}}