{"action":"created","comment":{"url":"https://api.github.com/repos/behance/helicropter/pulls/comments/45822802","id":45822802,"diff_hunk":"@@ -225,6 +235,28 @@ export default View.extend({\n     });\n   },\n \n+  _initialScaleValue({ scale: initialScale, width, height }) {\n+    let scale = 1.0;\n+\n+    if (typeof initialScale !== 'undefined') {\n+      scale = initialScale;","path":"src/js/CroppingArea.js","position":63,"original_position":63,"commit_id":"5c03bde4c447e8c68bd164779f1b89c3020883fb","original_commit_id":"5c03bde4c447e8c68bd164779f1b89c3020883fb","user":{"login":"mikesherov","id":364532,"avatar_url":"https://avatars.githubusercontent.com/u/364532?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesherov","html_url":"https://github.com/mikesherov","followers_url":"https://api.github.com/users/mikesherov/followers","following_url":"https://api.github.com/users/mikesherov/following{/other_user}","gists_url":"https://api.github.com/users/mikesherov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesherov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesherov/subscriptions","organizations_url":"https://api.github.com/users/mikesherov/orgs","repos_url":"https://api.github.com/users/mikesherov/repos","events_url":"https://api.github.com/users/mikesherov/events{/privacy}","received_events_url":"https://api.github.com/users/mikesherov/received_events","type":"User","site_admin":false},"body":"Early return. ","created_at":"2015-11-25T02:16:18Z","updated_at":"2015-11-25T02:16:18Z","html_url":"https://github.com/behance/helicropter/pull/35#discussion_r45822802","pull_request_url":"https://api.github.com/repos/behance/helicropter/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/behance/helicropter/pulls/comments/45822802"},"html":{"href":"https://github.com/behance/helicropter/pull/35#discussion_r45822802"},"pull_request":{"href":"https://api.github.com/repos/behance/helicropter/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/behance/helicropter/pulls/35","id":51673877,"html_url":"https://github.com/behance/helicropter/pull/35","diff_url":"https://github.com/behance/helicropter/pull/35.diff","patch_url":"https://github.com/behance/helicropter/pull/35.patch","issue_url":"https://api.github.com/repos/behance/helicropter/issues/35","number":35,"state":"open","locked":false,"title":"CroppingArea: Calculate scale from initial width/height","user":{"login":"Attamusc","id":868737,"avatar_url":"https://avatars.githubusercontent.com/u/868737?v=3","gravatar_id":"","url":"https://api.github.com/users/Attamusc","html_url":"https://github.com/Attamusc","followers_url":"https://api.github.com/users/Attamusc/followers","following_url":"https://api.github.com/users/Attamusc/following{/other_user}","gists_url":"https://api.github.com/users/Attamusc/gists{/gist_id}","starred_url":"https://api.github.com/users/Attamusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Attamusc/subscriptions","organizations_url":"https://api.github.com/users/Attamusc/orgs","repos_url":"https://api.github.com/users/Attamusc/repos","events_url":"https://api.github.com/users/Attamusc/events{/privacy}","received_events_url":"https://api.github.com/users/Attamusc/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-11-24T15:28:24Z","updated_at":"2015-11-25T02:16:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e607253d44ff47a33a063af6eda1043db950017","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/behance/helicropter/pulls/35/commits","review_comments_url":"https://api.github.com/repos/behance/helicropter/pulls/35/comments","review_comment_url":"https://api.github.com/repos/behance/helicropter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/behance/helicropter/issues/35/comments","statuses_url":"https://api.github.com/repos/behance/helicropter/statuses/5c03bde4c447e8c68bd164779f1b89c3020883fb","head":{"label":"Attamusc:feature/auto-scale-detection","ref":"feature/auto-scale-detection","sha":"5c03bde4c447e8c68bd164779f1b89c3020883fb","user":{"login":"Attamusc","id":868737,"avatar_url":"https://avatars.githubusercontent.com/u/868737?v=3","gravatar_id":"","url":"https://api.github.com/users/Attamusc","html_url":"https://github.com/Attamusc","followers_url":"https://api.github.com/users/Attamusc/followers","following_url":"https://api.github.com/users/Attamusc/following{/other_user}","gists_url":"https://api.github.com/users/Attamusc/gists{/gist_id}","starred_url":"https://api.github.com/users/Attamusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Attamusc/subscriptions","organizations_url":"https://api.github.com/users/Attamusc/orgs","repos_url":"https://api.github.com/users/Attamusc/repos","events_url":"https://api.github.com/users/Attamusc/events{/privacy}","received_events_url":"https://api.github.com/users/Attamusc/received_events","type":"User","site_admin":false},"repo":{"id":41378253,"name":"helicropter","full_name":"Attamusc/helicropter","owner":{"login":"Attamusc","id":868737,"avatar_url":"https://avatars.githubusercontent.com/u/868737?v=3","gravatar_id":"","url":"https://api.github.com/users/Attamusc","html_url":"https://github.com/Attamusc","followers_url":"https://api.github.com/users/Attamusc/followers","following_url":"https://api.github.com/users/Attamusc/following{/other_user}","gists_url":"https://api.github.com/users/Attamusc/gists{/gist_id}","starred_url":"https://api.github.com/users/Attamusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Attamusc/subscriptions","organizations_url":"https://api.github.com/users/Attamusc/orgs","repos_url":"https://api.github.com/users/Attamusc/repos","events_url":"https://api.github.com/users/Attamusc/events{/privacy}","received_events_url":"https://api.github.com/users/Attamusc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Attamusc/helicropter","description":"Crops, Bops, and Uploads","fork":true,"url":"https://api.github.com/repos/Attamusc/helicropter","forks_url":"https://api.github.com/repos/Attamusc/helicropter/forks","keys_url":"https://api.github.com/repos/Attamusc/helicropter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Attamusc/helicropter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Attamusc/helicropter/teams","hooks_url":"https://api.github.com/repos/Attamusc/helicropter/hooks","issue_events_url":"https://api.github.com/repos/Attamusc/helicropter/issues/events{/number}","events_url":"https://api.github.com/repos/Attamusc/helicropter/events","assignees_url":"https://api.github.com/repos/Attamusc/helicropter/assignees{/user}","branches_url":"https://api.github.com/repos/Attamusc/helicropter/branches{/branch}","tags_url":"https://api.github.com/repos/Attamusc/helicropter/tags","blobs_url":"https://api.github.com/repos/Attamusc/helicropter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Attamusc/helicropter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Attamusc/helicropter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Attamusc/helicropter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Attamusc/helicropter/statuses/{sha}","languages_url":"https://api.github.com/repos/Attamusc/helicropter/languages","stargazers_url":"https://api.github.com/repos/Attamusc/helicropter/stargazers","contributors_url":"https://api.github.com/repos/Attamusc/helicropter/contributors","subscribers_url":"https://api.github.com/repos/Attamusc/helicropter/subscribers","subscription_url":"https://api.github.com/repos/Attamusc/helicropter/subscription","commits_url":"https://api.github.com/repos/Attamusc/helicropter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Attamusc/helicropter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Attamusc/helicropter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Attamusc/helicropter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Attamusc/helicropter/contents/{+path}","compare_url":"https://api.github.com/repos/Attamusc/helicropter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Attamusc/helicropter/merges","archive_url":"https://api.github.com/repos/Attamusc/helicropter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Attamusc/helicropter/downloads","issues_url":"https://api.github.com/repos/Attamusc/helicropter/issues{/number}","pulls_url":"https://api.github.com/repos/Attamusc/helicropter/pulls{/number}","milestones_url":"https://api.github.com/repos/Attamusc/helicropter/milestones{/number}","notifications_url":"https://api.github.com/repos/Attamusc/helicropter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Attamusc/helicropter/labels{/name}","releases_url":"https://api.github.com/repos/Attamusc/helicropter/releases{/id}","created_at":"2015-08-25T17:38:18Z","updated_at":"2015-08-25T17:38:19Z","pushed_at":"2015-11-25T00:25:10Z","git_url":"git://github.com/Attamusc/helicropter.git","ssh_url":"git@github.com:Attamusc/helicropter.git","clone_url":"https://github.com/Attamusc/helicropter.git","svn_url":"https://github.com/Attamusc/helicropter","homepage":null,"size":15683,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"behance:master","ref":"master","sha":"d3d006ae7e8ae1c312d888d1c71c8bca651a982a","user":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"repo":{"id":38000509,"name":"helicropter","full_name":"behance/helicropter","owner":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/behance/helicropter","description":"Crops, Bops, and Uploads","fork":false,"url":"https://api.github.com/repos/behance/helicropter","forks_url":"https://api.github.com/repos/behance/helicropter/forks","keys_url":"https://api.github.com/repos/behance/helicropter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/behance/helicropter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/behance/helicropter/teams","hooks_url":"https://api.github.com/repos/behance/helicropter/hooks","issue_events_url":"https://api.github.com/repos/behance/helicropter/issues/events{/number}","events_url":"https://api.github.com/repos/behance/helicropter/events","assignees_url":"https://api.github.com/repos/behance/helicropter/assignees{/user}","branches_url":"https://api.github.com/repos/behance/helicropter/branches{/branch}","tags_url":"https://api.github.com/repos/behance/helicropter/tags","blobs_url":"https://api.github.com/repos/behance/helicropter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/behance/helicropter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/behance/helicropter/git/refs{/sha}","trees_url":"https://api.github.com/repos/behance/helicropter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/behance/helicropter/statuses/{sha}","languages_url":"https://api.github.com/repos/behance/helicropter/languages","stargazers_url":"https://api.github.com/repos/behance/helicropter/stargazers","contributors_url":"https://api.github.com/repos/behance/helicropter/contributors","subscribers_url":"https://api.github.com/repos/behance/helicropter/subscribers","subscription_url":"https://api.github.com/repos/behance/helicropter/subscription","commits_url":"https://api.github.com/repos/behance/helicropter/commits{/sha}","git_commits_url":"https://api.github.com/repos/behance/helicropter/git/commits{/sha}","comments_url":"https://api.github.com/repos/behance/helicropter/comments{/number}","issue_comment_url":"https://api.github.com/repos/behance/helicropter/issues/comments{/number}","contents_url":"https://api.github.com/repos/behance/helicropter/contents/{+path}","compare_url":"https://api.github.com/repos/behance/helicropter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/behance/helicropter/merges","archive_url":"https://api.github.com/repos/behance/helicropter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/behance/helicropter/downloads","issues_url":"https://api.github.com/repos/behance/helicropter/issues{/number}","pulls_url":"https://api.github.com/repos/behance/helicropter/pulls{/number}","milestones_url":"https://api.github.com/repos/behance/helicropter/milestones{/number}","notifications_url":"https://api.github.com/repos/behance/helicropter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/behance/helicropter/labels{/name}","releases_url":"https://api.github.com/repos/behance/helicropter/releases{/id}","created_at":"2015-06-24T17:40:35Z","updated_at":"2015-08-20T14:20:40Z","pushed_at":"2015-11-25T00:25:10Z","git_url":"git://github.com/behance/helicropter.git","ssh_url":"git@github.com:behance/helicropter.git","clone_url":"https://github.com/behance/helicropter.git","svn_url":"https://github.com/behance/helicropter","homepage":null,"size":15966,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/behance/helicropter/pulls/35"},"html":{"href":"https://github.com/behance/helicropter/pull/35"},"issue":{"href":"https://api.github.com/repos/behance/helicropter/issues/35"},"comments":{"href":"https://api.github.com/repos/behance/helicropter/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/behance/helicropter/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/behance/helicropter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/behance/helicropter/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/behance/helicropter/statuses/5c03bde4c447e8c68bd164779f1b89c3020883fb"}}}}