{"action":"created","comment":{"url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/comments/64052265","id":64052265,"diff_hunk":"@@ -423,7 +423,34 @@ jQuery.Fotorama = function ($fotorama, opts) {\n     }\n   }\n \n+  /**\n+   * Defines whether fotorama in visible viewport.\n+   * @param el - DOM element or jQuery object.\n+   * @returns {boolean}\n+   */\n+  function isInViewport() {","path":"src/js/fotorama.js","position":9,"original_position":9,"commit_id":"a586cefdef63c67f5ad69fd662cb225fcbba9dae","original_commit_id":"a586cefdef63c67f5ad69fd662cb225fcbba9dae","user":{"login":"yurikosan","id":1371580,"avatar_url":"https://avatars.githubusercontent.com/u/1371580?v=3","gravatar_id":"","url":"https://api.github.com/users/yurikosan","html_url":"https://github.com/yurikosan","followers_url":"https://api.github.com/users/yurikosan/followers","following_url":"https://api.github.com/users/yurikosan/following{/other_user}","gists_url":"https://api.github.com/users/yurikosan/gists{/gist_id}","starred_url":"https://api.github.com/users/yurikosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurikosan/subscriptions","organizations_url":"https://api.github.com/users/yurikosan/orgs","repos_url":"https://api.github.com/users/yurikosan/repos","events_url":"https://api.github.com/users/yurikosan/events{/privacy}","received_events_url":"https://api.github.com/users/yurikosan/received_events","type":"User","site_admin":false},"body":"could you clarify your answer?","created_at":"2016-05-20T14:42:31Z","updated_at":"2016-05-20T14:42:31Z","html_url":"https://github.com/artpolikarpov/fotorama/pull/468#discussion_r64052265","pull_request_url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468","_links":{"self":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/comments/64052265"},"html":{"href":"https://github.com/artpolikarpov/fotorama/pull/468#discussion_r64052265"},"pull_request":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468"}}},"pull_request":{"url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468","id":63590138,"html_url":"https://github.com/artpolikarpov/fotorama/pull/468","diff_url":"https://github.com/artpolikarpov/fotorama/pull/468.diff","patch_url":"https://github.com/artpolikarpov/fotorama/pull/468.patch","issue_url":"https://api.github.com/repos/artpolikarpov/fotorama/issues/468","number":468,"state":"open","locked":false,"title":"The option is added to load first frames only if it is shown in viewport","user":{"login":"yurikosan","id":1371580,"avatar_url":"https://avatars.githubusercontent.com/u/1371580?v=3","gravatar_id":"","url":"https://api.github.com/users/yurikosan","html_url":"https://github.com/yurikosan","followers_url":"https://api.github.com/users/yurikosan/followers","following_url":"https://api.github.com/users/yurikosan/following{/other_user}","gists_url":"https://api.github.com/users/yurikosan/gists{/gist_id}","starred_url":"https://api.github.com/users/yurikosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurikosan/subscriptions","organizations_url":"https://api.github.com/users/yurikosan/orgs","repos_url":"https://api.github.com/users/yurikosan/repos","events_url":"https://api.github.com/users/yurikosan/events{/privacy}","received_events_url":"https://api.github.com/users/yurikosan/received_events","type":"User","site_admin":false},"body":"Usage:\r\n```\r\n$('.fotorama').fotorama({\r\n     lazyLoad: true\r\n});\r\n```\r\n\r\nThere shall be many galleries on the page, one under another.","created_at":"2016-03-21T16:14:57Z","updated_at":"2016-05-20T14:42:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12989646f671462c47a0290c2a4edab4a5705c72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468/commits","review_comments_url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468/comments","review_comment_url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artpolikarpov/fotorama/issues/468/comments","statuses_url":"https://api.github.com/repos/artpolikarpov/fotorama/statuses/a586cefdef63c67f5ad69fd662cb225fcbba9dae","head":{"label":"yurikosan:LoadFirstFramesInViewportOnly","ref":"LoadFirstFramesInViewportOnly","sha":"a586cefdef63c67f5ad69fd662cb225fcbba9dae","user":{"login":"yurikosan","id":1371580,"avatar_url":"https://avatars.githubusercontent.com/u/1371580?v=3","gravatar_id":"","url":"https://api.github.com/users/yurikosan","html_url":"https://github.com/yurikosan","followers_url":"https://api.github.com/users/yurikosan/followers","following_url":"https://api.github.com/users/yurikosan/following{/other_user}","gists_url":"https://api.github.com/users/yurikosan/gists{/gist_id}","starred_url":"https://api.github.com/users/yurikosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurikosan/subscriptions","organizations_url":"https://api.github.com/users/yurikosan/orgs","repos_url":"https://api.github.com/users/yurikosan/repos","events_url":"https://api.github.com/users/yurikosan/events{/privacy}","received_events_url":"https://api.github.com/users/yurikosan/received_events","type":"User","site_admin":false},"repo":{"id":54399934,"name":"fotorama","full_name":"yurikosan/fotorama","owner":{"login":"yurikosan","id":1371580,"avatar_url":"https://avatars.githubusercontent.com/u/1371580?v=3","gravatar_id":"","url":"https://api.github.com/users/yurikosan","html_url":"https://github.com/yurikosan","followers_url":"https://api.github.com/users/yurikosan/followers","following_url":"https://api.github.com/users/yurikosan/following{/other_user}","gists_url":"https://api.github.com/users/yurikosan/gists{/gist_id}","starred_url":"https://api.github.com/users/yurikosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurikosan/subscriptions","organizations_url":"https://api.github.com/users/yurikosan/orgs","repos_url":"https://api.github.com/users/yurikosan/repos","events_url":"https://api.github.com/users/yurikosan/events{/privacy}","received_events_url":"https://api.github.com/users/yurikosan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yurikosan/fotorama","description":"A simple, stunning, powerful jQuery gallery. Licensed under MIT.","fork":true,"url":"https://api.github.com/repos/yurikosan/fotorama","forks_url":"https://api.github.com/repos/yurikosan/fotorama/forks","keys_url":"https://api.github.com/repos/yurikosan/fotorama/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yurikosan/fotorama/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yurikosan/fotorama/teams","hooks_url":"https://api.github.com/repos/yurikosan/fotorama/hooks","issue_events_url":"https://api.github.com/repos/yurikosan/fotorama/issues/events{/number}","events_url":"https://api.github.com/repos/yurikosan/fotorama/events","assignees_url":"https://api.github.com/repos/yurikosan/fotorama/assignees{/user}","branches_url":"https://api.github.com/repos/yurikosan/fotorama/branches{/branch}","tags_url":"https://api.github.com/repos/yurikosan/fotorama/tags","blobs_url":"https://api.github.com/repos/yurikosan/fotorama/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yurikosan/fotorama/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yurikosan/fotorama/git/refs{/sha}","trees_url":"https://api.github.com/repos/yurikosan/fotorama/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yurikosan/fotorama/statuses/{sha}","languages_url":"https://api.github.com/repos/yurikosan/fotorama/languages","stargazers_url":"https://api.github.com/repos/yurikosan/fotorama/stargazers","contributors_url":"https://api.github.com/repos/yurikosan/fotorama/contributors","subscribers_url":"https://api.github.com/repos/yurikosan/fotorama/subscribers","subscription_url":"https://api.github.com/repos/yurikosan/fotorama/subscription","commits_url":"https://api.github.com/repos/yurikosan/fotorama/commits{/sha}","git_commits_url":"https://api.github.com/repos/yurikosan/fotorama/git/commits{/sha}","comments_url":"https://api.github.com/repos/yurikosan/fotorama/comments{/number}","issue_comment_url":"https://api.github.com/repos/yurikosan/fotorama/issues/comments{/number}","contents_url":"https://api.github.com/repos/yurikosan/fotorama/contents/{+path}","compare_url":"https://api.github.com/repos/yurikosan/fotorama/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yurikosan/fotorama/merges","archive_url":"https://api.github.com/repos/yurikosan/fotorama/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yurikosan/fotorama/downloads","issues_url":"https://api.github.com/repos/yurikosan/fotorama/issues{/number}","pulls_url":"https://api.github.com/repos/yurikosan/fotorama/pulls{/number}","milestones_url":"https://api.github.com/repos/yurikosan/fotorama/milestones{/number}","notifications_url":"https://api.github.com/repos/yurikosan/fotorama/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yurikosan/fotorama/labels{/name}","releases_url":"https://api.github.com/repos/yurikosan/fotorama/releases{/id}","deployments_url":"https://api.github.com/repos/yurikosan/fotorama/deployments","created_at":"2016-03-21T15:21:50Z","updated_at":"2016-03-21T15:21:52Z","pushed_at":"2016-03-21T15:45:47Z","git_url":"git://github.com/yurikosan/fotorama.git","ssh_url":"git@github.com:yurikosan/fotorama.git","clone_url":"https://github.com/yurikosan/fotorama.git","svn_url":"https://github.com/yurikosan/fotorama","homepage":"fotorama.io","size":73105,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"artpolikarpov:develop","ref":"develop","sha":"a4699507aee6c2a9ada92f016071a151123255fd","user":{"login":"artpolikarpov","id":870859,"avatar_url":"https://avatars.githubusercontent.com/u/870859?v=3","gravatar_id":"","url":"https://api.github.com/users/artpolikarpov","html_url":"https://github.com/artpolikarpov","followers_url":"https://api.github.com/users/artpolikarpov/followers","following_url":"https://api.github.com/users/artpolikarpov/following{/other_user}","gists_url":"https://api.github.com/users/artpolikarpov/gists{/gist_id}","starred_url":"https://api.github.com/users/artpolikarpov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artpolikarpov/subscriptions","organizations_url":"https://api.github.com/users/artpolikarpov/orgs","repos_url":"https://api.github.com/users/artpolikarpov/repos","events_url":"https://api.github.com/users/artpolikarpov/events{/privacy}","received_events_url":"https://api.github.com/users/artpolikarpov/received_events","type":"User","site_admin":false},"repo":{"id":9758300,"name":"fotorama","full_name":"artpolikarpov/fotorama","owner":{"login":"artpolikarpov","id":870859,"avatar_url":"https://avatars.githubusercontent.com/u/870859?v=3","gravatar_id":"","url":"https://api.github.com/users/artpolikarpov","html_url":"https://github.com/artpolikarpov","followers_url":"https://api.github.com/users/artpolikarpov/followers","following_url":"https://api.github.com/users/artpolikarpov/following{/other_user}","gists_url":"https://api.github.com/users/artpolikarpov/gists{/gist_id}","starred_url":"https://api.github.com/users/artpolikarpov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artpolikarpov/subscriptions","organizations_url":"https://api.github.com/users/artpolikarpov/orgs","repos_url":"https://api.github.com/users/artpolikarpov/repos","events_url":"https://api.github.com/users/artpolikarpov/events{/privacy}","received_events_url":"https://api.github.com/users/artpolikarpov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artpolikarpov/fotorama","description":"A simple, stunning, powerful jQuery gallery. Licensed under MIT.","fork":false,"url":"https://api.github.com/repos/artpolikarpov/fotorama","forks_url":"https://api.github.com/repos/artpolikarpov/fotorama/forks","keys_url":"https://api.github.com/repos/artpolikarpov/fotorama/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artpolikarpov/fotorama/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artpolikarpov/fotorama/teams","hooks_url":"https://api.github.com/repos/artpolikarpov/fotorama/hooks","issue_events_url":"https://api.github.com/repos/artpolikarpov/fotorama/issues/events{/number}","events_url":"https://api.github.com/repos/artpolikarpov/fotorama/events","assignees_url":"https://api.github.com/repos/artpolikarpov/fotorama/assignees{/user}","branches_url":"https://api.github.com/repos/artpolikarpov/fotorama/branches{/branch}","tags_url":"https://api.github.com/repos/artpolikarpov/fotorama/tags","blobs_url":"https://api.github.com/repos/artpolikarpov/fotorama/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artpolikarpov/fotorama/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artpolikarpov/fotorama/git/refs{/sha}","trees_url":"https://api.github.com/repos/artpolikarpov/fotorama/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artpolikarpov/fotorama/statuses/{sha}","languages_url":"https://api.github.com/repos/artpolikarpov/fotorama/languages","stargazers_url":"https://api.github.com/repos/artpolikarpov/fotorama/stargazers","contributors_url":"https://api.github.com/repos/artpolikarpov/fotorama/contributors","subscribers_url":"https://api.github.com/repos/artpolikarpov/fotorama/subscribers","subscription_url":"https://api.github.com/repos/artpolikarpov/fotorama/subscription","commits_url":"https://api.github.com/repos/artpolikarpov/fotorama/commits{/sha}","git_commits_url":"https://api.github.com/repos/artpolikarpov/fotorama/git/commits{/sha}","comments_url":"https://api.github.com/repos/artpolikarpov/fotorama/comments{/number}","issue_comment_url":"https://api.github.com/repos/artpolikarpov/fotorama/issues/comments{/number}","contents_url":"https://api.github.com/repos/artpolikarpov/fotorama/contents/{+path}","compare_url":"https://api.github.com/repos/artpolikarpov/fotorama/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artpolikarpov/fotorama/merges","archive_url":"https://api.github.com/repos/artpolikarpov/fotorama/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artpolikarpov/fotorama/downloads","issues_url":"https://api.github.com/repos/artpolikarpov/fotorama/issues{/number}","pulls_url":"https://api.github.com/repos/artpolikarpov/fotorama/pulls{/number}","milestones_url":"https://api.github.com/repos/artpolikarpov/fotorama/milestones{/number}","notifications_url":"https://api.github.com/repos/artpolikarpov/fotorama/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artpolikarpov/fotorama/labels{/name}","releases_url":"https://api.github.com/repos/artpolikarpov/fotorama/releases{/id}","deployments_url":"https://api.github.com/repos/artpolikarpov/fotorama/deployments","created_at":"2013-04-29T21:22:16Z","updated_at":"2016-05-19T13:53:29Z","pushed_at":"2016-03-31T19:04:14Z","git_url":"git://github.com/artpolikarpov/fotorama.git","ssh_url":"git@github.com:artpolikarpov/fotorama.git","clone_url":"https://github.com/artpolikarpov/fotorama.git","svn_url":"https://github.com/artpolikarpov/fotorama","homepage":"fotorama.io","size":75639,"stargazers_count":1200,"watchers_count":1200,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":232,"mirror_url":null,"open_issues_count":195,"forks":232,"open_issues":195,"watchers":1200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468"},"html":{"href":"https://github.com/artpolikarpov/fotorama/pull/468"},"issue":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/issues/468"},"comments":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/artpolikarpov/fotorama/statuses/a586cefdef63c67f5ad69fd662cb225fcbba9dae"}}}}
{"actor":{"display_login":"yurikosan"}}