{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9","id":41570319,"html_url":"https://github.com/amplience/amplience-sdk-client/pull/9","diff_url":"https://github.com/amplience/amplience-sdk-client/pull/9.diff","patch_url":"https://github.com/amplience/amplience-sdk-client/pull/9.patch","issue_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/9","number":9,"state":"open","locked":false,"title":"ensure that `_onImageLoaded` is only actioned once","user":{"login":"stephen-james","id":2278558,"avatar_url":"https://avatars.githubusercontent.com/u/2278558?v=3","gravatar_id":"","url":"https://api.github.com/users/stephen-james","html_url":"https://github.com/stephen-james","followers_url":"https://api.github.com/users/stephen-james/followers","following_url":"https://api.github.com/users/stephen-james/following{/other_user}","gists_url":"https://api.github.com/users/stephen-james/gists{/gist_id}","starred_url":"https://api.github.com/users/stephen-james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephen-james/subscriptions","organizations_url":"https://api.github.com/users/stephen-james/orgs","repos_url":"https://api.github.com/users/stephen-james/repos","events_url":"https://api.github.com/users/stephen-james/events{/privacy}","received_events_url":"https://api.github.com/users/stephen-james/received_events","type":"User","site_admin":false},"body":"`_onImageLoaded` is bound to the `load` event of the target image to use for zoom, and the Image's load event seems to fire each time the user switches between alternate images in a stack (see https://ampliencedev.atlassian.net/browse/SDK-165 for example case of this bug).\r\n\r\nThis results in events being bound multiple times on the same element and race conditions can occur where the zoom is toggled off before it gets a chance to perform its zooming `setInterval` routine.\r\n\r\nThis fix ensures that if the image is loaded, it will not rebind events.","created_at":"2015-08-04T13:38:01Z","updated_at":"2015-08-04T13:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9/commits","review_comments_url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9/comments","review_comment_url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/9/comments","statuses_url":"https://api.github.com/repos/amplience/amplience-sdk-client/statuses/e0571dc0f02cf87dbf6b56bfb6d8db34fb02db89","head":{"label":"amplience:feature/SDK-165-zoom-not-working-on-alt-images-in-stack","ref":"feature/SDK-165-zoom-not-working-on-alt-images-in-stack","sha":"e0571dc0f02cf87dbf6b56bfb6d8db34fb02db89","user":{"login":"amplience","id":4487692,"avatar_url":"https://avatars.githubusercontent.com/u/4487692?v=3","gravatar_id":"","url":"https://api.github.com/users/amplience","html_url":"https://github.com/amplience","followers_url":"https://api.github.com/users/amplience/followers","following_url":"https://api.github.com/users/amplience/following{/other_user}","gists_url":"https://api.github.com/users/amplience/gists{/gist_id}","starred_url":"https://api.github.com/users/amplience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplience/subscriptions","organizations_url":"https://api.github.com/users/amplience/orgs","repos_url":"https://api.github.com/users/amplience/repos","events_url":"https://api.github.com/users/amplience/events{/privacy}","received_events_url":"https://api.github.com/users/amplience/received_events","type":"Organization","site_admin":false},"repo":{"id":31726755,"name":"amplience-sdk-client","full_name":"amplience/amplience-sdk-client","owner":{"login":"amplience","id":4487692,"avatar_url":"https://avatars.githubusercontent.com/u/4487692?v=3","gravatar_id":"","url":"https://api.github.com/users/amplience","html_url":"https://github.com/amplience","followers_url":"https://api.github.com/users/amplience/followers","following_url":"https://api.github.com/users/amplience/following{/other_user}","gists_url":"https://api.github.com/users/amplience/gists{/gist_id}","starred_url":"https://api.github.com/users/amplience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplience/subscriptions","organizations_url":"https://api.github.com/users/amplience/orgs","repos_url":"https://api.github.com/users/amplience/repos","events_url":"https://api.github.com/users/amplience/events{/privacy}","received_events_url":"https://api.github.com/users/amplience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplience/amplience-sdk-client","description":"Amplience Client SDK is a library built to make the consumption of the Amplience platform easier for developers. As well as providing interfaces to our APIs it contains platform agnostic widgets for generating carousels, 360 product rotations, zoom viewers and more.","fork":false,"url":"https://api.github.com/repos/amplience/amplience-sdk-client","forks_url":"https://api.github.com/repos/amplience/amplience-sdk-client/forks","keys_url":"https://api.github.com/repos/amplience/amplience-sdk-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplience/amplience-sdk-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplience/amplience-sdk-client/teams","hooks_url":"https://api.github.com/repos/amplience/amplience-sdk-client/hooks","issue_events_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/events{/number}","events_url":"https://api.github.com/repos/amplience/amplience-sdk-client/events","assignees_url":"https://api.github.com/repos/amplience/amplience-sdk-client/assignees{/user}","branches_url":"https://api.github.com/repos/amplience/amplience-sdk-client/branches{/branch}","tags_url":"https://api.github.com/repos/amplience/amplience-sdk-client/tags","blobs_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplience/amplience-sdk-client/statuses/{sha}","languages_url":"https://api.github.com/repos/amplience/amplience-sdk-client/languages","stargazers_url":"https://api.github.com/repos/amplience/amplience-sdk-client/stargazers","contributors_url":"https://api.github.com/repos/amplience/amplience-sdk-client/contributors","subscribers_url":"https://api.github.com/repos/amplience/amplience-sdk-client/subscribers","subscription_url":"https://api.github.com/repos/amplience/amplience-sdk-client/subscription","commits_url":"https://api.github.com/repos/amplience/amplience-sdk-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplience/amplience-sdk-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplience/amplience-sdk-client/contents/{+path}","compare_url":"https://api.github.com/repos/amplience/amplience-sdk-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplience/amplience-sdk-client/merges","archive_url":"https://api.github.com/repos/amplience/amplience-sdk-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplience/amplience-sdk-client/downloads","issues_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues{/number}","pulls_url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls{/number}","milestones_url":"https://api.github.com/repos/amplience/amplience-sdk-client/milestones{/number}","notifications_url":"https://api.github.com/repos/amplience/amplience-sdk-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplience/amplience-sdk-client/labels{/name}","releases_url":"https://api.github.com/repos/amplience/amplience-sdk-client/releases{/id}","created_at":"2015-03-05T17:37:53Z","updated_at":"2015-04-29T16:25:16Z","pushed_at":"2015-08-04T13:36:23Z","git_url":"git://github.com/amplience/amplience-sdk-client.git","ssh_url":"git@github.com:amplience/amplience-sdk-client.git","clone_url":"https://github.com/amplience/amplience-sdk-client.git","svn_url":"https://github.com/amplience/amplience-sdk-client","homepage":"http://playground.amplience.com/sdk/docs/","size":630,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":9,"default_branch":"master"}},"base":{"label":"amplience:release/v0.1.2rc-0","ref":"release/v0.1.2rc-0","sha":"76c02bd8c4e2f08cc0109e9c2cac07756c4fe8cd","user":{"login":"amplience","id":4487692,"avatar_url":"https://avatars.githubusercontent.com/u/4487692?v=3","gravatar_id":"","url":"https://api.github.com/users/amplience","html_url":"https://github.com/amplience","followers_url":"https://api.github.com/users/amplience/followers","following_url":"https://api.github.com/users/amplience/following{/other_user}","gists_url":"https://api.github.com/users/amplience/gists{/gist_id}","starred_url":"https://api.github.com/users/amplience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplience/subscriptions","organizations_url":"https://api.github.com/users/amplience/orgs","repos_url":"https://api.github.com/users/amplience/repos","events_url":"https://api.github.com/users/amplience/events{/privacy}","received_events_url":"https://api.github.com/users/amplience/received_events","type":"Organization","site_admin":false},"repo":{"id":31726755,"name":"amplience-sdk-client","full_name":"amplience/amplience-sdk-client","owner":{"login":"amplience","id":4487692,"avatar_url":"https://avatars.githubusercontent.com/u/4487692?v=3","gravatar_id":"","url":"https://api.github.com/users/amplience","html_url":"https://github.com/amplience","followers_url":"https://api.github.com/users/amplience/followers","following_url":"https://api.github.com/users/amplience/following{/other_user}","gists_url":"https://api.github.com/users/amplience/gists{/gist_id}","starred_url":"https://api.github.com/users/amplience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplience/subscriptions","organizations_url":"https://api.github.com/users/amplience/orgs","repos_url":"https://api.github.com/users/amplience/repos","events_url":"https://api.github.com/users/amplience/events{/privacy}","received_events_url":"https://api.github.com/users/amplience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplience/amplience-sdk-client","description":"Amplience Client SDK is a library built to make the consumption of the Amplience platform easier for developers. As well as providing interfaces to our APIs it contains platform agnostic widgets for generating carousels, 360 product rotations, zoom viewers and more.","fork":false,"url":"https://api.github.com/repos/amplience/amplience-sdk-client","forks_url":"https://api.github.com/repos/amplience/amplience-sdk-client/forks","keys_url":"https://api.github.com/repos/amplience/amplience-sdk-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplience/amplience-sdk-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplience/amplience-sdk-client/teams","hooks_url":"https://api.github.com/repos/amplience/amplience-sdk-client/hooks","issue_events_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/events{/number}","events_url":"https://api.github.com/repos/amplience/amplience-sdk-client/events","assignees_url":"https://api.github.com/repos/amplience/amplience-sdk-client/assignees{/user}","branches_url":"https://api.github.com/repos/amplience/amplience-sdk-client/branches{/branch}","tags_url":"https://api.github.com/repos/amplience/amplience-sdk-client/tags","blobs_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplience/amplience-sdk-client/statuses/{sha}","languages_url":"https://api.github.com/repos/amplience/amplience-sdk-client/languages","stargazers_url":"https://api.github.com/repos/amplience/amplience-sdk-client/stargazers","contributors_url":"https://api.github.com/repos/amplience/amplience-sdk-client/contributors","subscribers_url":"https://api.github.com/repos/amplience/amplience-sdk-client/subscribers","subscription_url":"https://api.github.com/repos/amplience/amplience-sdk-client/subscription","commits_url":"https://api.github.com/repos/amplience/amplience-sdk-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplience/amplience-sdk-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplience/amplience-sdk-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplience/amplience-sdk-client/contents/{+path}","compare_url":"https://api.github.com/repos/amplience/amplience-sdk-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplience/amplience-sdk-client/merges","archive_url":"https://api.github.com/repos/amplience/amplience-sdk-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplience/amplience-sdk-client/downloads","issues_url":"https://api.github.com/repos/amplience/amplience-sdk-client/issues{/number}","pulls_url":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls{/number}","milestones_url":"https://api.github.com/repos/amplience/amplience-sdk-client/milestones{/number}","notifications_url":"https://api.github.com/repos/amplience/amplience-sdk-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplience/amplience-sdk-client/labels{/name}","releases_url":"https://api.github.com/repos/amplience/amplience-sdk-client/releases{/id}","created_at":"2015-03-05T17:37:53Z","updated_at":"2015-04-29T16:25:16Z","pushed_at":"2015-08-04T13:36:23Z","git_url":"git://github.com/amplience/amplience-sdk-client.git","ssh_url":"git@github.com:amplience/amplience-sdk-client.git","clone_url":"https://github.com/amplience/amplience-sdk-client.git","svn_url":"https://github.com/amplience/amplience-sdk-client","homepage":"http://playground.amplience.com/sdk/docs/","size":630,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9"},"html":{"href":"https://github.com/amplience/amplience-sdk-client/pull/9"},"issue":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/9"},"comments":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/amplience/amplience-sdk-client/statuses/e0571dc0f02cf87dbf6b56bfb6d8db34fb02db89"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}