{"action":"opened","number":101,"pull_request":{"url":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101","id":41231460,"html_url":"https://github.com/chafey/cornerstoneTools/pull/101","diff_url":"https://github.com/chafey/cornerstoneTools/pull/101.diff","patch_url":"https://github.com/chafey/cornerstoneTools/pull/101.patch","issue_url":"https://api.github.com/repos/chafey/cornerstoneTools/issues/101","number":101,"state":"open","locked":false,"title":"WIP: Click-to-place behaviour for mouseButton tools","user":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"body":"**Don't merge yet! Changes general tool behaviour and needs to be tested thoroughly before merging**\r\n\r\n**Changes:**\r\n- Allow users to 'click-to-place' on mouseButton tools. E.g. Instead of click-dragging to create the length tool, the user simply clicks twice on the image.\r\n\r\n**Live demo(s):**\r\n\r\nhttps://rawgit.com/swederik/cornerstoneTools/toolBehaviour/examples/allImageTools/index.html\r\n\r\nhttps://rawgit.com/swederik/cornerstoneTools/toolBehaviour/examples/annotation/index.html\r\n\r\nhttps://rawgit.com/swederik/cornerstoneTools/toolBehaviour/examples/angleTool/index.html\r\n\r\nhttps://rawgit.com/swederik/cornerstoneTools/tree/toolBehaviour/examples/wwwcRegion","created_at":"2015-07-30T13:08:17Z","updated_at":"2015-07-30T13:08:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101/commits","review_comments_url":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101/comments","review_comment_url":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chafey/cornerstoneTools/issues/101/comments","statuses_url":"https://api.github.com/repos/chafey/cornerstoneTools/statuses/164cc10c6203b6f11a8ed7f591a8989671f52bad","head":{"label":"swederik:toolBehaviour","ref":"toolBehaviour","sha":"164cc10c6203b6f11a8ed7f591a8989671f52bad","user":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"repo":{"id":25230046,"name":"cornerstoneTools","full_name":"swederik/cornerstoneTools","owner":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swederik/cornerstoneTools","description":"A framework for tools built on top of cornerstone","fork":true,"url":"https://api.github.com/repos/swederik/cornerstoneTools","forks_url":"https://api.github.com/repos/swederik/cornerstoneTools/forks","keys_url":"https://api.github.com/repos/swederik/cornerstoneTools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swederik/cornerstoneTools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swederik/cornerstoneTools/teams","hooks_url":"https://api.github.com/repos/swederik/cornerstoneTools/hooks","issue_events_url":"https://api.github.com/repos/swederik/cornerstoneTools/issues/events{/number}","events_url":"https://api.github.com/repos/swederik/cornerstoneTools/events","assignees_url":"https://api.github.com/repos/swederik/cornerstoneTools/assignees{/user}","branches_url":"https://api.github.com/repos/swederik/cornerstoneTools/branches{/branch}","tags_url":"https://api.github.com/repos/swederik/cornerstoneTools/tags","blobs_url":"https://api.github.com/repos/swederik/cornerstoneTools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swederik/cornerstoneTools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swederik/cornerstoneTools/git/refs{/sha}","trees_url":"https://api.github.com/repos/swederik/cornerstoneTools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swederik/cornerstoneTools/statuses/{sha}","languages_url":"https://api.github.com/repos/swederik/cornerstoneTools/languages","stargazers_url":"https://api.github.com/repos/swederik/cornerstoneTools/stargazers","contributors_url":"https://api.github.com/repos/swederik/cornerstoneTools/contributors","subscribers_url":"https://api.github.com/repos/swederik/cornerstoneTools/subscribers","subscription_url":"https://api.github.com/repos/swederik/cornerstoneTools/subscription","commits_url":"https://api.github.com/repos/swederik/cornerstoneTools/commits{/sha}","git_commits_url":"https://api.github.com/repos/swederik/cornerstoneTools/git/commits{/sha}","comments_url":"https://api.github.com/repos/swederik/cornerstoneTools/comments{/number}","issue_comment_url":"https://api.github.com/repos/swederik/cornerstoneTools/issues/comments{/number}","contents_url":"https://api.github.com/repos/swederik/cornerstoneTools/contents/{+path}","compare_url":"https://api.github.com/repos/swederik/cornerstoneTools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swederik/cornerstoneTools/merges","archive_url":"https://api.github.com/repos/swederik/cornerstoneTools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swederik/cornerstoneTools/downloads","issues_url":"https://api.github.com/repos/swederik/cornerstoneTools/issues{/number}","pulls_url":"https://api.github.com/repos/swederik/cornerstoneTools/pulls{/number}","milestones_url":"https://api.github.com/repos/swederik/cornerstoneTools/milestones{/number}","notifications_url":"https://api.github.com/repos/swederik/cornerstoneTools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swederik/cornerstoneTools/labels{/name}","releases_url":"https://api.github.com/repos/swederik/cornerstoneTools/releases{/id}","created_at":"2014-10-14T22:56:07Z","updated_at":"2014-12-03T00:11:52Z","pushed_at":"2015-07-30T13:01:00Z","git_url":"git://github.com/swederik/cornerstoneTools.git","ssh_url":"git@github.com:swederik/cornerstoneTools.git","clone_url":"https://github.com/swederik/cornerstoneTools.git","svn_url":"https://github.com/swederik/cornerstoneTools","homepage":null,"size":2781,"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":"master"}},"base":{"label":"chafey:master","ref":"master","sha":"360d2961b8b63f6c9e3d7fe88e787759f26c7f7e","user":{"login":"chafey","id":1268698,"avatar_url":"https://avatars.githubusercontent.com/u/1268698?v=3","gravatar_id":"","url":"https://api.github.com/users/chafey","html_url":"https://github.com/chafey","followers_url":"https://api.github.com/users/chafey/followers","following_url":"https://api.github.com/users/chafey/following{/other_user}","gists_url":"https://api.github.com/users/chafey/gists{/gist_id}","starred_url":"https://api.github.com/users/chafey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chafey/subscriptions","organizations_url":"https://api.github.com/users/chafey/orgs","repos_url":"https://api.github.com/users/chafey/repos","events_url":"https://api.github.com/users/chafey/events{/privacy}","received_events_url":"https://api.github.com/users/chafey/received_events","type":"User","site_admin":false},"repo":{"id":18408166,"name":"cornerstoneTools","full_name":"chafey/cornerstoneTools","owner":{"login":"chafey","id":1268698,"avatar_url":"https://avatars.githubusercontent.com/u/1268698?v=3","gravatar_id":"","url":"https://api.github.com/users/chafey","html_url":"https://github.com/chafey","followers_url":"https://api.github.com/users/chafey/followers","following_url":"https://api.github.com/users/chafey/following{/other_user}","gists_url":"https://api.github.com/users/chafey/gists{/gist_id}","starred_url":"https://api.github.com/users/chafey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chafey/subscriptions","organizations_url":"https://api.github.com/users/chafey/orgs","repos_url":"https://api.github.com/users/chafey/repos","events_url":"https://api.github.com/users/chafey/events{/privacy}","received_events_url":"https://api.github.com/users/chafey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chafey/cornerstoneTools","description":"A framework for tools built on top of cornerstone","fork":false,"url":"https://api.github.com/repos/chafey/cornerstoneTools","forks_url":"https://api.github.com/repos/chafey/cornerstoneTools/forks","keys_url":"https://api.github.com/repos/chafey/cornerstoneTools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chafey/cornerstoneTools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chafey/cornerstoneTools/teams","hooks_url":"https://api.github.com/repos/chafey/cornerstoneTools/hooks","issue_events_url":"https://api.github.com/repos/chafey/cornerstoneTools/issues/events{/number}","events_url":"https://api.github.com/repos/chafey/cornerstoneTools/events","assignees_url":"https://api.github.com/repos/chafey/cornerstoneTools/assignees{/user}","branches_url":"https://api.github.com/repos/chafey/cornerstoneTools/branches{/branch}","tags_url":"https://api.github.com/repos/chafey/cornerstoneTools/tags","blobs_url":"https://api.github.com/repos/chafey/cornerstoneTools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chafey/cornerstoneTools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chafey/cornerstoneTools/git/refs{/sha}","trees_url":"https://api.github.com/repos/chafey/cornerstoneTools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chafey/cornerstoneTools/statuses/{sha}","languages_url":"https://api.github.com/repos/chafey/cornerstoneTools/languages","stargazers_url":"https://api.github.com/repos/chafey/cornerstoneTools/stargazers","contributors_url":"https://api.github.com/repos/chafey/cornerstoneTools/contributors","subscribers_url":"https://api.github.com/repos/chafey/cornerstoneTools/subscribers","subscription_url":"https://api.github.com/repos/chafey/cornerstoneTools/subscription","commits_url":"https://api.github.com/repos/chafey/cornerstoneTools/commits{/sha}","git_commits_url":"https://api.github.com/repos/chafey/cornerstoneTools/git/commits{/sha}","comments_url":"https://api.github.com/repos/chafey/cornerstoneTools/comments{/number}","issue_comment_url":"https://api.github.com/repos/chafey/cornerstoneTools/issues/comments{/number}","contents_url":"https://api.github.com/repos/chafey/cornerstoneTools/contents/{+path}","compare_url":"https://api.github.com/repos/chafey/cornerstoneTools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chafey/cornerstoneTools/merges","archive_url":"https://api.github.com/repos/chafey/cornerstoneTools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chafey/cornerstoneTools/downloads","issues_url":"https://api.github.com/repos/chafey/cornerstoneTools/issues{/number}","pulls_url":"https://api.github.com/repos/chafey/cornerstoneTools/pulls{/number}","milestones_url":"https://api.github.com/repos/chafey/cornerstoneTools/milestones{/number}","notifications_url":"https://api.github.com/repos/chafey/cornerstoneTools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chafey/cornerstoneTools/labels{/name}","releases_url":"https://api.github.com/repos/chafey/cornerstoneTools/releases{/id}","created_at":"2014-04-03T15:30:55Z","updated_at":"2015-06-30T14:13:51Z","pushed_at":"2015-07-30T10:41:36Z","git_url":"git://github.com/chafey/cornerstoneTools.git","ssh_url":"git@github.com:chafey/cornerstoneTools.git","clone_url":"https://github.com/chafey/cornerstoneTools.git","svn_url":"https://github.com/chafey/cornerstoneTools","homepage":null,"size":4241,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":13,"forks":26,"open_issues":13,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101"},"html":{"href":"https://github.com/chafey/cornerstoneTools/pull/101"},"issue":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/issues/101"},"comments":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/chafey/cornerstoneTools/statuses/164cc10c6203b6f11a8ed7f591a8989671f52bad"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":444,"deletions":192,"changed_files":10}}