{"action":"created","comment":{"url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/comments/73934659","id":73934659,"diff_hunk":"@@ -0,0 +1,70 @@\n+CoinBaseWidget = function(buttonElem, params) {\n+    var self = this;\n+\n+    self.domain = \"https://buy.coinbase.com\";\n+    \n+    self.show = function() {\n+        // self.button.trigger('click');\n+        self.modal.style.display = \"block\";\n+    };\n+\n+    self.generateIframe = function(content) {\n+        var e = document.createElement(\"div\");\n+        return e.innerHTML = content, e.firstChild;\n+    };\n+\n+    self.generateParams = function() {\n+        return \"?address=\" + encodeURIComponent(params.address) + (\"&amount=\" + encodeURIComponent(params.amount)) + (\"&code=\" + encodeURIComponent(params.code)) + (\"&currency=\" + encodeURIComponent(params.currency)) + (\"&crypto_currency=\" + encodeURIComponent(params.crypto_currency)) + (\"&state=\" + encodeURIComponent(params.state));\n+    };\n+\n+    self.modalIframeStyle = function() {\n+        return \"\\n      transition: all 0.3s ease-out;\\n      background-color: transparent;\\n      border: 0px none transparent;\\n      display: none;\\n      position: fixed;\\n      visibility: visible;\\n      margin: 0px;\\n      padding: 0px;\\n      left: 0px;\\n      top: 0px;\\n      width: 100%;\\n      height: 100%;\\n      z-index: 9999;\\n    \";\n+    };\n+\n+    self.modalIframe = function() {\n+        var e = self.generateParams();\n+        return \"<iframe src='\" + self.domain + \"/\" + e + \"'\\n                    id='coinbase_modal_iframe'\\n                    name='coinbase_modal_iframe'\\n                    style='\" + self.modalIframeStyle() + \"'\\n                    scrolling='no'\\n                    allowtransparency='true' frameborder='0'>\\n      </iframe>\";\n+    };\n+\n+    // self.buttonIframeStyle = function() {","path":"app/client/lib/thirdparty/coinbase-widget.js","position":29,"original_position":29,"commit_id":"77d14e3a6aac0c337718b166d397ca6f49e9d84c","original_commit_id":"77d14e3a6aac0c337718b166d397ca6f49e9d84c","user":{"login":"alexvandesande","id":112898,"avatar_url":"https://avatars.githubusercontent.com/u/112898?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvandesande","html_url":"https://github.com/alexvandesande","followers_url":"https://api.github.com/users/alexvandesande/followers","following_url":"https://api.github.com/users/alexvandesande/following{/other_user}","gists_url":"https://api.github.com/users/alexvandesande/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvandesande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvandesande/subscriptions","organizations_url":"https://api.github.com/users/alexvandesande/orgs","repos_url":"https://api.github.com/users/alexvandesande/repos","events_url":"https://api.github.com/users/alexvandesande/events{/privacy}","received_events_url":"https://api.github.com/users/alexvandesande/received_events","type":"User","site_admin":false},"body":"can we remove these comments?","created_at":"2016-08-08T19:06:22Z","updated_at":"2016-08-08T19:06:22Z","html_url":"https://github.com/ethereum/meteor-dapp-wallet/pull/261#discussion_r73934659","pull_request_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261","_links":{"self":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/comments/73934659"},"html":{"href":"https://github.com/ethereum/meteor-dapp-wallet/pull/261#discussion_r73934659"},"pull_request":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261"}}},"pull_request":{"url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261","id":78667457,"html_url":"https://github.com/ethereum/meteor-dapp-wallet/pull/261","diff_url":"https://github.com/ethereum/meteor-dapp-wallet/pull/261.diff","patch_url":"https://github.com/ethereum/meteor-dapp-wallet/pull/261.patch","issue_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/261","number":261,"state":"open","locked":false,"title":"Coinbase buy widget integration","user":{"login":"hiddentao","id":266594,"avatar_url":"https://avatars.githubusercontent.com/u/266594?v=3","gravatar_id":"","url":"https://api.github.com/users/hiddentao","html_url":"https://github.com/hiddentao","followers_url":"https://api.github.com/users/hiddentao/followers","following_url":"https://api.github.com/users/hiddentao/following{/other_user}","gists_url":"https://api.github.com/users/hiddentao/gists{/gist_id}","starred_url":"https://api.github.com/users/hiddentao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiddentao/subscriptions","organizations_url":"https://api.github.com/users/hiddentao/orgs","repos_url":"https://api.github.com/users/hiddentao/repos","events_url":"https://api.github.com/users/hiddentao/events{/privacy}","received_events_url":"https://api.github.com/users/hiddentao/received_events","type":"User","site_admin":false},"body":"*WIP*","created_at":"2016-07-25T11:44:22Z","updated_at":"2016-08-08T19:06:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0cb057f9f5568f3b379533856e2903c79d2cf116","assignee":{"login":"hiddentao","id":266594,"avatar_url":"https://avatars.githubusercontent.com/u/266594?v=3","gravatar_id":"","url":"https://api.github.com/users/hiddentao","html_url":"https://github.com/hiddentao","followers_url":"https://api.github.com/users/hiddentao/followers","following_url":"https://api.github.com/users/hiddentao/following{/other_user}","gists_url":"https://api.github.com/users/hiddentao/gists{/gist_id}","starred_url":"https://api.github.com/users/hiddentao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiddentao/subscriptions","organizations_url":"https://api.github.com/users/hiddentao/orgs","repos_url":"https://api.github.com/users/hiddentao/repos","events_url":"https://api.github.com/users/hiddentao/events{/privacy}","received_events_url":"https://api.github.com/users/hiddentao/received_events","type":"User","site_admin":false},"assignees":[{"login":"hiddentao","id":266594,"avatar_url":"https://avatars.githubusercontent.com/u/266594?v=3","gravatar_id":"","url":"https://api.github.com/users/hiddentao","html_url":"https://github.com/hiddentao","followers_url":"https://api.github.com/users/hiddentao/followers","following_url":"https://api.github.com/users/hiddentao/following{/other_user}","gists_url":"https://api.github.com/users/hiddentao/gists{/gist_id}","starred_url":"https://api.github.com/users/hiddentao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiddentao/subscriptions","organizations_url":"https://api.github.com/users/hiddentao/orgs","repos_url":"https://api.github.com/users/hiddentao/repos","events_url":"https://api.github.com/users/hiddentao/events{/privacy}","received_events_url":"https://api.github.com/users/hiddentao/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261/commits","review_comments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261/comments","review_comment_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/261/comments","statuses_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/statuses/77d14e3a6aac0c337718b166d397ca6f49e9d84c","head":{"label":"ethereum:coinbase","ref":"coinbase","sha":"77d14e3a6aac0c337718b166d397ca6f49e9d84c","user":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":30197536,"name":"meteor-dapp-wallet","full_name":"ethereum/meteor-dapp-wallet","owner":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ethereum/meteor-dapp-wallet","description":"","fork":false,"url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet","forks_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/forks","keys_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/teams","hooks_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/hooks","issue_events_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/events","assignees_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/tags","blobs_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/languages","stargazers_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/stargazers","contributors_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/contributors","subscribers_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/subscribers","subscription_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/subscription","commits_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/merges","archive_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/downloads","issues_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/deployments","created_at":"2015-02-02T16:59:12Z","updated_at":"2016-07-29T06:36:14Z","pushed_at":"2016-08-08T19:05:45Z","git_url":"git://github.com/ethereum/meteor-dapp-wallet.git","ssh_url":"git@github.com:ethereum/meteor-dapp-wallet.git","clone_url":"https://github.com/ethereum/meteor-dapp-wallet.git","svn_url":"https://github.com/ethereum/meteor-dapp-wallet","homepage":null,"size":5850,"stargazers_count":130,"watchers_count":130,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":122,"mirror_url":null,"open_issues_count":32,"forks":122,"open_issues":32,"watchers":130,"default_branch":"develop"}},"base":{"label":"ethereum:develop","ref":"develop","sha":"18f29f6e9086e119a66a41e332a4232180cb4ae1","user":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":30197536,"name":"meteor-dapp-wallet","full_name":"ethereum/meteor-dapp-wallet","owner":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ethereum/meteor-dapp-wallet","description":"","fork":false,"url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet","forks_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/forks","keys_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/teams","hooks_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/hooks","issue_events_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/events","assignees_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/tags","blobs_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/languages","stargazers_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/stargazers","contributors_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/contributors","subscribers_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/subscribers","subscription_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/subscription","commits_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/merges","archive_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/downloads","issues_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/deployments","created_at":"2015-02-02T16:59:12Z","updated_at":"2016-07-29T06:36:14Z","pushed_at":"2016-08-08T19:05:45Z","git_url":"git://github.com/ethereum/meteor-dapp-wallet.git","ssh_url":"git@github.com:ethereum/meteor-dapp-wallet.git","clone_url":"https://github.com/ethereum/meteor-dapp-wallet.git","svn_url":"https://github.com/ethereum/meteor-dapp-wallet","homepage":null,"size":5850,"stargazers_count":130,"watchers_count":130,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":122,"mirror_url":null,"open_issues_count":32,"forks":122,"open_issues":32,"watchers":130,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261"},"html":{"href":"https://github.com/ethereum/meteor-dapp-wallet/pull/261"},"issue":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/261"},"comments":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/meteor-dapp-wallet/statuses/77d14e3a6aac0c337718b166d397ca6f49e9d84c"}}}}
{"actor":{"display_login":"alexvandesande"}}