{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/nnattawat/flip/pulls/24","id":39006351,"html_url":"https://github.com/nnattawat/flip/pull/24","diff_url":"https://github.com/nnattawat/flip/pull/24.diff","patch_url":"https://github.com/nnattawat/flip/pull/24.patch","issue_url":"https://api.github.com/repos/nnattawat/flip/issues/24","number":24,"state":"closed","locked":false,"title":"Added axis changing and toggling","user":{"login":"JemarJones","id":6874590,"avatar_url":"https://avatars.githubusercontent.com/u/6874590?v=3","gravatar_id":"","url":"https://api.github.com/users/JemarJones","html_url":"https://github.com/JemarJones","followers_url":"https://api.github.com/users/JemarJones/followers","following_url":"https://api.github.com/users/JemarJones/following{/other_user}","gists_url":"https://api.github.com/users/JemarJones/gists{/gist_id}","starred_url":"https://api.github.com/users/JemarJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemarJones/subscriptions","organizations_url":"https://api.github.com/users/JemarJones/orgs","repos_url":"https://api.github.com/users/JemarJones/repos","events_url":"https://api.github.com/users/JemarJones/events{/privacy}","received_events_url":"https://api.github.com/users/JemarJones/received_events","type":"User","site_admin":false},"body":"This is to address #23 . Ive gone with a different approach than what was proposed in the issue. This has been tested and works as expected. I've added a function to arbitrarily change the axis after an element has already been instantiated, also a method to both set the new axis and toggle the flip automatically, lastly this toggling ability has been added into the flip function as well. The setAxis method has a convenient callback as the animation acts async. This should probably be done uniformly for all options but ive only just done it for the option i need. Please let me know what you think, i'm willing to make changes/remove the tinier edits to get merged.","created_at":"2015-07-01T17:34:28Z","updated_at":"2015-07-06T11:20:12Z","closed_at":"2015-07-06T11:20:12Z","merged_at":null,"merge_commit_sha":"5c90785697daefd932af44f654b710138f24b272","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nnattawat/flip/pulls/24/commits","review_comments_url":"https://api.github.com/repos/nnattawat/flip/pulls/24/comments","review_comment_url":"https://api.github.com/repos/nnattawat/flip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nnattawat/flip/issues/24/comments","statuses_url":"https://api.github.com/repos/nnattawat/flip/statuses/bfbb155b3c8704f486a443af966495d01be93738","head":{"label":"JemarJones:fromroot","ref":"fromroot","sha":"bfbb155b3c8704f486a443af966495d01be93738","user":{"login":"JemarJones","id":6874590,"avatar_url":"https://avatars.githubusercontent.com/u/6874590?v=3","gravatar_id":"","url":"https://api.github.com/users/JemarJones","html_url":"https://github.com/JemarJones","followers_url":"https://api.github.com/users/JemarJones/followers","following_url":"https://api.github.com/users/JemarJones/following{/other_user}","gists_url":"https://api.github.com/users/JemarJones/gists{/gist_id}","starred_url":"https://api.github.com/users/JemarJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemarJones/subscriptions","organizations_url":"https://api.github.com/users/JemarJones/orgs","repos_url":"https://api.github.com/users/JemarJones/repos","events_url":"https://api.github.com/users/JemarJones/events{/privacy}","received_events_url":"https://api.github.com/users/JemarJones/received_events","type":"User","site_admin":false},"repo":{"id":38348966,"name":"flip","full_name":"JemarJones/flip","owner":{"login":"JemarJones","id":6874590,"avatar_url":"https://avatars.githubusercontent.com/u/6874590?v=3","gravatar_id":"","url":"https://api.github.com/users/JemarJones","html_url":"https://github.com/JemarJones","followers_url":"https://api.github.com/users/JemarJones/followers","following_url":"https://api.github.com/users/JemarJones/following{/other_user}","gists_url":"https://api.github.com/users/JemarJones/gists{/gist_id}","starred_url":"https://api.github.com/users/JemarJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemarJones/subscriptions","organizations_url":"https://api.github.com/users/JemarJones/orgs","repos_url":"https://api.github.com/users/JemarJones/repos","events_url":"https://api.github.com/users/JemarJones/events{/privacy}","received_events_url":"https://api.github.com/users/JemarJones/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JemarJones/flip","description":"A lightweight jQuery plugin to make 3D card flipping animation","fork":true,"url":"https://api.github.com/repos/JemarJones/flip","forks_url":"https://api.github.com/repos/JemarJones/flip/forks","keys_url":"https://api.github.com/repos/JemarJones/flip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JemarJones/flip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JemarJones/flip/teams","hooks_url":"https://api.github.com/repos/JemarJones/flip/hooks","issue_events_url":"https://api.github.com/repos/JemarJones/flip/issues/events{/number}","events_url":"https://api.github.com/repos/JemarJones/flip/events","assignees_url":"https://api.github.com/repos/JemarJones/flip/assignees{/user}","branches_url":"https://api.github.com/repos/JemarJones/flip/branches{/branch}","tags_url":"https://api.github.com/repos/JemarJones/flip/tags","blobs_url":"https://api.github.com/repos/JemarJones/flip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JemarJones/flip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JemarJones/flip/git/refs{/sha}","trees_url":"https://api.github.com/repos/JemarJones/flip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JemarJones/flip/statuses/{sha}","languages_url":"https://api.github.com/repos/JemarJones/flip/languages","stargazers_url":"https://api.github.com/repos/JemarJones/flip/stargazers","contributors_url":"https://api.github.com/repos/JemarJones/flip/contributors","subscribers_url":"https://api.github.com/repos/JemarJones/flip/subscribers","subscription_url":"https://api.github.com/repos/JemarJones/flip/subscription","commits_url":"https://api.github.com/repos/JemarJones/flip/commits{/sha}","git_commits_url":"https://api.github.com/repos/JemarJones/flip/git/commits{/sha}","comments_url":"https://api.github.com/repos/JemarJones/flip/comments{/number}","issue_comment_url":"https://api.github.com/repos/JemarJones/flip/issues/comments{/number}","contents_url":"https://api.github.com/repos/JemarJones/flip/contents/{+path}","compare_url":"https://api.github.com/repos/JemarJones/flip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JemarJones/flip/merges","archive_url":"https://api.github.com/repos/JemarJones/flip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JemarJones/flip/downloads","issues_url":"https://api.github.com/repos/JemarJones/flip/issues{/number}","pulls_url":"https://api.github.com/repos/JemarJones/flip/pulls{/number}","milestones_url":"https://api.github.com/repos/JemarJones/flip/milestones{/number}","notifications_url":"https://api.github.com/repos/JemarJones/flip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JemarJones/flip/labels{/name}","releases_url":"https://api.github.com/repos/JemarJones/flip/releases{/id}","created_at":"2015-07-01T04:08:52Z","updated_at":"2015-07-01T04:08:53Z","pushed_at":"2015-07-05T22:14:03Z","git_url":"git://github.com/JemarJones/flip.git","ssh_url":"git@github.com:JemarJones/flip.git","clone_url":"https://github.com/JemarJones/flip.git","svn_url":"https://github.com/JemarJones/flip","homepage":"","size":2379,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"allchanges"}},"base":{"label":"nnattawat:master","ref":"master","sha":"bd29e0cb5243fdc87cb66216628b064f756da7d2","user":{"login":"nnattawat","id":535365,"avatar_url":"https://avatars.githubusercontent.com/u/535365?v=3","gravatar_id":"","url":"https://api.github.com/users/nnattawat","html_url":"https://github.com/nnattawat","followers_url":"https://api.github.com/users/nnattawat/followers","following_url":"https://api.github.com/users/nnattawat/following{/other_user}","gists_url":"https://api.github.com/users/nnattawat/gists{/gist_id}","starred_url":"https://api.github.com/users/nnattawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnattawat/subscriptions","organizations_url":"https://api.github.com/users/nnattawat/orgs","repos_url":"https://api.github.com/users/nnattawat/repos","events_url":"https://api.github.com/users/nnattawat/events{/privacy}","received_events_url":"https://api.github.com/users/nnattawat/received_events","type":"User","site_admin":false},"repo":{"id":16949068,"name":"flip","full_name":"nnattawat/flip","owner":{"login":"nnattawat","id":535365,"avatar_url":"https://avatars.githubusercontent.com/u/535365?v=3","gravatar_id":"","url":"https://api.github.com/users/nnattawat","html_url":"https://github.com/nnattawat","followers_url":"https://api.github.com/users/nnattawat/followers","following_url":"https://api.github.com/users/nnattawat/following{/other_user}","gists_url":"https://api.github.com/users/nnattawat/gists{/gist_id}","starred_url":"https://api.github.com/users/nnattawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnattawat/subscriptions","organizations_url":"https://api.github.com/users/nnattawat/orgs","repos_url":"https://api.github.com/users/nnattawat/repos","events_url":"https://api.github.com/users/nnattawat/events{/privacy}","received_events_url":"https://api.github.com/users/nnattawat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nnattawat/flip","description":"A lightweight jQuery plugin to make 3D card flipping animation","fork":false,"url":"https://api.github.com/repos/nnattawat/flip","forks_url":"https://api.github.com/repos/nnattawat/flip/forks","keys_url":"https://api.github.com/repos/nnattawat/flip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnattawat/flip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnattawat/flip/teams","hooks_url":"https://api.github.com/repos/nnattawat/flip/hooks","issue_events_url":"https://api.github.com/repos/nnattawat/flip/issues/events{/number}","events_url":"https://api.github.com/repos/nnattawat/flip/events","assignees_url":"https://api.github.com/repos/nnattawat/flip/assignees{/user}","branches_url":"https://api.github.com/repos/nnattawat/flip/branches{/branch}","tags_url":"https://api.github.com/repos/nnattawat/flip/tags","blobs_url":"https://api.github.com/repos/nnattawat/flip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnattawat/flip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnattawat/flip/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnattawat/flip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnattawat/flip/statuses/{sha}","languages_url":"https://api.github.com/repos/nnattawat/flip/languages","stargazers_url":"https://api.github.com/repos/nnattawat/flip/stargazers","contributors_url":"https://api.github.com/repos/nnattawat/flip/contributors","subscribers_url":"https://api.github.com/repos/nnattawat/flip/subscribers","subscription_url":"https://api.github.com/repos/nnattawat/flip/subscription","commits_url":"https://api.github.com/repos/nnattawat/flip/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnattawat/flip/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnattawat/flip/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnattawat/flip/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnattawat/flip/contents/{+path}","compare_url":"https://api.github.com/repos/nnattawat/flip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnattawat/flip/merges","archive_url":"https://api.github.com/repos/nnattawat/flip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnattawat/flip/downloads","issues_url":"https://api.github.com/repos/nnattawat/flip/issues{/number}","pulls_url":"https://api.github.com/repos/nnattawat/flip/pulls{/number}","milestones_url":"https://api.github.com/repos/nnattawat/flip/milestones{/number}","notifications_url":"https://api.github.com/repos/nnattawat/flip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnattawat/flip/labels{/name}","releases_url":"https://api.github.com/repos/nnattawat/flip/releases{/id}","created_at":"2014-02-18T13:03:12Z","updated_at":"2015-07-01T20:07:51Z","pushed_at":"2015-07-06T10:33:02Z","git_url":"git://github.com/nnattawat/flip.git","ssh_url":"git@github.com:nnattawat/flip.git","clone_url":"https://github.com/nnattawat/flip.git","svn_url":"https://github.com/nnattawat/flip","homepage":"","size":2812,"stargazers_count":85,"watchers_count":85,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":58,"mirror_url":null,"open_issues_count":15,"forks":58,"open_issues":15,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nnattawat/flip/pulls/24"},"html":{"href":"https://github.com/nnattawat/flip/pull/24"},"issue":{"href":"https://api.github.com/repos/nnattawat/flip/issues/24"},"comments":{"href":"https://api.github.com/repos/nnattawat/flip/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/nnattawat/flip/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/nnattawat/flip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nnattawat/flip/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/nnattawat/flip/statuses/bfbb155b3c8704f486a443af966495d01be93738"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":91,"deletions":5,"changed_files":3}}