{"action":"opened","number":1069,"pull_request":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069","id":53805077,"html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1069","diff_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1069.diff","patch_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1069.patch","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1069","number":1069,"state":"open","locked":false,"title":"Add native C&P support to morphic text inputs!","user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars.githubusercontent.com/u/1505907?v=3","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"body":"All the hard work goes to the folks working on Edgy for this one!\n@cyderize wrote Edgy's implementation, and I copied that almost exactly.\n\nhttps://github.com/snapapps/edgy/blob/08f6c473aed6526202eaa84f82d4819e18ccbf05/edgy/clipboard.js\n\n* In the current edgy implementation, there's a `hiddenDiv` which\ncontains the `hiddenText` textarea. I found that div to not be\nnecessary, so it was removed.\n* I tweaked a couple `==` to be `===`.","created_at":"2015-12-16T06:47:36Z","updated_at":"2015-12-16T06:47:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069/commits","review_comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069/comments","review_comment_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1069/comments","statuses_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/statuses/e6c5d4cdda3081c7d0e6ae30040add03a1e2abd8","head":{"label":"cycomachead:clipboard","ref":"clipboard","sha":"e6c5d4cdda3081c7d0e6ae30040add03a1e2abd8","user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars.githubusercontent.com/u/1505907?v=3","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"repo":{"id":9627657,"name":"snap","full_name":"cycomachead/snap","owner":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars.githubusercontent.com/u/1505907?v=3","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cycomachead/snap","description":"a visual programming language inspired by Scratch","fork":true,"url":"https://api.github.com/repos/cycomachead/snap","forks_url":"https://api.github.com/repos/cycomachead/snap/forks","keys_url":"https://api.github.com/repos/cycomachead/snap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cycomachead/snap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cycomachead/snap/teams","hooks_url":"https://api.github.com/repos/cycomachead/snap/hooks","issue_events_url":"https://api.github.com/repos/cycomachead/snap/issues/events{/number}","events_url":"https://api.github.com/repos/cycomachead/snap/events","assignees_url":"https://api.github.com/repos/cycomachead/snap/assignees{/user}","branches_url":"https://api.github.com/repos/cycomachead/snap/branches{/branch}","tags_url":"https://api.github.com/repos/cycomachead/snap/tags","blobs_url":"https://api.github.com/repos/cycomachead/snap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cycomachead/snap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cycomachead/snap/git/refs{/sha}","trees_url":"https://api.github.com/repos/cycomachead/snap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cycomachead/snap/statuses/{sha}","languages_url":"https://api.github.com/repos/cycomachead/snap/languages","stargazers_url":"https://api.github.com/repos/cycomachead/snap/stargazers","contributors_url":"https://api.github.com/repos/cycomachead/snap/contributors","subscribers_url":"https://api.github.com/repos/cycomachead/snap/subscribers","subscription_url":"https://api.github.com/repos/cycomachead/snap/subscription","commits_url":"https://api.github.com/repos/cycomachead/snap/commits{/sha}","git_commits_url":"https://api.github.com/repos/cycomachead/snap/git/commits{/sha}","comments_url":"https://api.github.com/repos/cycomachead/snap/comments{/number}","issue_comment_url":"https://api.github.com/repos/cycomachead/snap/issues/comments{/number}","contents_url":"https://api.github.com/repos/cycomachead/snap/contents/{+path}","compare_url":"https://api.github.com/repos/cycomachead/snap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cycomachead/snap/merges","archive_url":"https://api.github.com/repos/cycomachead/snap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cycomachead/snap/downloads","issues_url":"https://api.github.com/repos/cycomachead/snap/issues{/number}","pulls_url":"https://api.github.com/repos/cycomachead/snap/pulls{/number}","milestones_url":"https://api.github.com/repos/cycomachead/snap/milestones{/number}","notifications_url":"https://api.github.com/repos/cycomachead/snap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cycomachead/snap/labels{/name}","releases_url":"https://api.github.com/repos/cycomachead/snap/releases{/id}","created_at":"2013-04-23T16:20:48Z","updated_at":"2015-05-03T23:10:43Z","pushed_at":"2015-12-16T06:47:28Z","git_url":"git://github.com/cycomachead/snap.git","ssh_url":"git@github.com:cycomachead/snap.git","clone_url":"https://github.com/cycomachead/snap.git","svn_url":"https://github.com/cycomachead/snap","homepage":"http://snap.berkeley.edu","size":31335,"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":"jmoenig:master","ref":"master","sha":"e672fe5056a1ecb1f42ac026fe7ec50b0fae6241","user":{"login":"jmoenig","id":2596285,"avatar_url":"https://avatars.githubusercontent.com/u/2596285?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoenig","html_url":"https://github.com/jmoenig","followers_url":"https://api.github.com/users/jmoenig/followers","following_url":"https://api.github.com/users/jmoenig/following{/other_user}","gists_url":"https://api.github.com/users/jmoenig/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoenig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoenig/subscriptions","organizations_url":"https://api.github.com/users/jmoenig/orgs","repos_url":"https://api.github.com/users/jmoenig/repos","events_url":"https://api.github.com/users/jmoenig/events{/privacy}","received_events_url":"https://api.github.com/users/jmoenig/received_events","type":"User","site_admin":false},"repo":{"id":8815876,"name":"Snap--Build-Your-Own-Blocks","full_name":"jmoenig/Snap--Build-Your-Own-Blocks","owner":{"login":"jmoenig","id":2596285,"avatar_url":"https://avatars.githubusercontent.com/u/2596285?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoenig","html_url":"https://github.com/jmoenig","followers_url":"https://api.github.com/users/jmoenig/followers","following_url":"https://api.github.com/users/jmoenig/following{/other_user}","gists_url":"https://api.github.com/users/jmoenig/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoenig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoenig/subscriptions","organizations_url":"https://api.github.com/users/jmoenig/orgs","repos_url":"https://api.github.com/users/jmoenig/repos","events_url":"https://api.github.com/users/jmoenig/events{/privacy}","received_events_url":"https://api.github.com/users/jmoenig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks","description":"a visual programming language inspired by Scratch","fork":false,"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks","forks_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/forks","keys_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/teams","hooks_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/hooks","issue_events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/events{/number}","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/events","assignees_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/assignees{/user}","branches_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/branches{/branch}","tags_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/tags","blobs_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/languages","stargazers_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/stargazers","contributors_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/contributors","subscribers_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/subscribers","subscription_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/subscription","commits_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/contents/{+path}","compare_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/merges","archive_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/downloads","issues_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues{/number}","pulls_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels{/name}","releases_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/releases{/id}","created_at":"2013-03-16T08:03:15Z","updated_at":"2015-12-14T08:10:56Z","pushed_at":"2015-12-15T16:19:07Z","git_url":"git://github.com/jmoenig/Snap--Build-Your-Own-Blocks.git","ssh_url":"git@github.com:jmoenig/Snap--Build-Your-Own-Blocks.git","clone_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks.git","svn_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks","homepage":"http://snap.berkeley.edu","size":46069,"stargazers_count":310,"watchers_count":310,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":384,"forks":245,"open_issues":384,"watchers":310,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069"},"html":{"href":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1069"},"issue":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1069"},"comments":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1069/comments"},"review_comments":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069/comments"},"review_comment":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1069/commits"},"statuses":{"href":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/statuses/e6c5d4cdda3081c7d0e6ae30040add03a1e2abd8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":1,"changed_files":1}}