{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/neelance/go-angularjs/pulls/7","id":27564044,"html_url":"https://github.com/neelance/go-angularjs/pull/7","diff_url":"https://github.com/neelance/go-angularjs/pull/7.diff","patch_url":"https://github.com/neelance/go-angularjs/pull/7.patch","issue_url":"https://api.github.com/repos/neelance/go-angularjs/issues/7","number":7,"state":"open","locked":false,"title":"Use js.Any instead of interface{}.","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"body":"Related to change in gopherjs/gopherjs@1dae489721d66fc0b05af4976b0ef45cbd564c07.\r\n\r\nThis fixes an issue upstream when trying to build `playground.go`. The following snippet:\r\n\r\n```Go\r\nbox := angularjs.ElementById(\"output\")\r\nbox.SetProp(\"scrollTop\", box.Prop(\"scrollHeight\"))\r\n```\r\n\r\nProduces an error:\r\n\r\n```\r\nplayground.go:293:30: can't convert js.Object/js.Any to other interface type\r\n```\r\n\r\nThis PR fixes that problem and allows `playground.go` to build successfully.\r\n\r\nI've applied the change to `SetVal` also because it looks similar, but that is untested. Please review.","created_at":"2015-01-17T23:25:19Z","updated_at":"2015-01-17T23:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neelance/go-angularjs/pulls/7/commits","review_comments_url":"https://api.github.com/repos/neelance/go-angularjs/pulls/7/comments","review_comment_url":"https://api.github.com/repos/neelance/go-angularjs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/neelance/go-angularjs/issues/7/comments","statuses_url":"https://api.github.com/repos/neelance/go-angularjs/statuses/8398fe173a452eea4555bf0515d43ce26e64ec22","head":{"label":"shurcooL:master","ref":"master","sha":"8398fe173a452eea4555bf0515d43ce26e64ec22","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"repo":{"id":29409215,"name":"go-angularjs","full_name":"shurcooL/go-angularjs","owner":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shurcooL/go-angularjs","description":"GopherJS bindings to AngularJS","fork":true,"url":"https://api.github.com/repos/shurcooL/go-angularjs","forks_url":"https://api.github.com/repos/shurcooL/go-angularjs/forks","keys_url":"https://api.github.com/repos/shurcooL/go-angularjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shurcooL/go-angularjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shurcooL/go-angularjs/teams","hooks_url":"https://api.github.com/repos/shurcooL/go-angularjs/hooks","issue_events_url":"https://api.github.com/repos/shurcooL/go-angularjs/issues/events{/number}","events_url":"https://api.github.com/repos/shurcooL/go-angularjs/events","assignees_url":"https://api.github.com/repos/shurcooL/go-angularjs/assignees{/user}","branches_url":"https://api.github.com/repos/shurcooL/go-angularjs/branches{/branch}","tags_url":"https://api.github.com/repos/shurcooL/go-angularjs/tags","blobs_url":"https://api.github.com/repos/shurcooL/go-angularjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shurcooL/go-angularjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shurcooL/go-angularjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/shurcooL/go-angularjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shurcooL/go-angularjs/statuses/{sha}","languages_url":"https://api.github.com/repos/shurcooL/go-angularjs/languages","stargazers_url":"https://api.github.com/repos/shurcooL/go-angularjs/stargazers","contributors_url":"https://api.github.com/repos/shurcooL/go-angularjs/contributors","subscribers_url":"https://api.github.com/repos/shurcooL/go-angularjs/subscribers","subscription_url":"https://api.github.com/repos/shurcooL/go-angularjs/subscription","commits_url":"https://api.github.com/repos/shurcooL/go-angularjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/shurcooL/go-angularjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/shurcooL/go-angularjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/shurcooL/go-angularjs/issues/comments/{number}","contents_url":"https://api.github.com/repos/shurcooL/go-angularjs/contents/{+path}","compare_url":"https://api.github.com/repos/shurcooL/go-angularjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shurcooL/go-angularjs/merges","archive_url":"https://api.github.com/repos/shurcooL/go-angularjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shurcooL/go-angularjs/downloads","issues_url":"https://api.github.com/repos/shurcooL/go-angularjs/issues{/number}","pulls_url":"https://api.github.com/repos/shurcooL/go-angularjs/pulls{/number}","milestones_url":"https://api.github.com/repos/shurcooL/go-angularjs/milestones{/number}","notifications_url":"https://api.github.com/repos/shurcooL/go-angularjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shurcooL/go-angularjs/labels{/name}","releases_url":"https://api.github.com/repos/shurcooL/go-angularjs/releases{/id}","created_at":"2015-01-17T23:21:29Z","updated_at":"2015-01-17T23:23:20Z","pushed_at":"2015-01-17T23:23:19Z","git_url":"git://github.com/shurcooL/go-angularjs.git","ssh_url":"git@github.com:shurcooL/go-angularjs.git","clone_url":"https://github.com/shurcooL/go-angularjs.git","svn_url":"https://github.com/shurcooL/go-angularjs","homepage":"","size":126,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"neelance:master","ref":"master","sha":"a71d273d35adba9f842375a0f160edb9eb856b99","user":{"login":"neelance","id":16184,"avatar_url":"https://avatars.githubusercontent.com/u/16184?v=3","gravatar_id":"","url":"https://api.github.com/users/neelance","html_url":"https://github.com/neelance","followers_url":"https://api.github.com/users/neelance/followers","following_url":"https://api.github.com/users/neelance/following{/other_user}","gists_url":"https://api.github.com/users/neelance/gists{/gist_id}","starred_url":"https://api.github.com/users/neelance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neelance/subscriptions","organizations_url":"https://api.github.com/users/neelance/orgs","repos_url":"https://api.github.com/users/neelance/repos","events_url":"https://api.github.com/users/neelance/events{/privacy}","received_events_url":"https://api.github.com/users/neelance/received_events","type":"User","site_admin":false},"repo":{"id":13617716,"name":"go-angularjs","full_name":"neelance/go-angularjs","owner":{"login":"neelance","id":16184,"avatar_url":"https://avatars.githubusercontent.com/u/16184?v=3","gravatar_id":"","url":"https://api.github.com/users/neelance","html_url":"https://github.com/neelance","followers_url":"https://api.github.com/users/neelance/followers","following_url":"https://api.github.com/users/neelance/following{/other_user}","gists_url":"https://api.github.com/users/neelance/gists{/gist_id}","starred_url":"https://api.github.com/users/neelance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neelance/subscriptions","organizations_url":"https://api.github.com/users/neelance/orgs","repos_url":"https://api.github.com/users/neelance/repos","events_url":"https://api.github.com/users/neelance/events{/privacy}","received_events_url":"https://api.github.com/users/neelance/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neelance/go-angularjs","description":"GopherJS bindings to AngularJS","fork":false,"url":"https://api.github.com/repos/neelance/go-angularjs","forks_url":"https://api.github.com/repos/neelance/go-angularjs/forks","keys_url":"https://api.github.com/repos/neelance/go-angularjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neelance/go-angularjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neelance/go-angularjs/teams","hooks_url":"https://api.github.com/repos/neelance/go-angularjs/hooks","issue_events_url":"https://api.github.com/repos/neelance/go-angularjs/issues/events{/number}","events_url":"https://api.github.com/repos/neelance/go-angularjs/events","assignees_url":"https://api.github.com/repos/neelance/go-angularjs/assignees{/user}","branches_url":"https://api.github.com/repos/neelance/go-angularjs/branches{/branch}","tags_url":"https://api.github.com/repos/neelance/go-angularjs/tags","blobs_url":"https://api.github.com/repos/neelance/go-angularjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neelance/go-angularjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neelance/go-angularjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/neelance/go-angularjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neelance/go-angularjs/statuses/{sha}","languages_url":"https://api.github.com/repos/neelance/go-angularjs/languages","stargazers_url":"https://api.github.com/repos/neelance/go-angularjs/stargazers","contributors_url":"https://api.github.com/repos/neelance/go-angularjs/contributors","subscribers_url":"https://api.github.com/repos/neelance/go-angularjs/subscribers","subscription_url":"https://api.github.com/repos/neelance/go-angularjs/subscription","commits_url":"https://api.github.com/repos/neelance/go-angularjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/neelance/go-angularjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/neelance/go-angularjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/neelance/go-angularjs/issues/comments/{number}","contents_url":"https://api.github.com/repos/neelance/go-angularjs/contents/{+path}","compare_url":"https://api.github.com/repos/neelance/go-angularjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neelance/go-angularjs/merges","archive_url":"https://api.github.com/repos/neelance/go-angularjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neelance/go-angularjs/downloads","issues_url":"https://api.github.com/repos/neelance/go-angularjs/issues{/number}","pulls_url":"https://api.github.com/repos/neelance/go-angularjs/pulls{/number}","milestones_url":"https://api.github.com/repos/neelance/go-angularjs/milestones{/number}","notifications_url":"https://api.github.com/repos/neelance/go-angularjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neelance/go-angularjs/labels{/name}","releases_url":"https://api.github.com/repos/neelance/go-angularjs/releases{/id}","created_at":"2013-10-16T11:54:09Z","updated_at":"2015-01-14T01:09:00Z","pushed_at":"2014-10-20T13:50:30Z","git_url":"git://github.com/neelance/go-angularjs.git","ssh_url":"git@github.com:neelance/go-angularjs.git","clone_url":"https://github.com/neelance/go-angularjs.git","svn_url":"https://github.com/neelance/go-angularjs","homepage":"","size":393,"stargazers_count":56,"watchers_count":56,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neelance/go-angularjs/pulls/7"},"html":{"href":"https://github.com/neelance/go-angularjs/pull/7"},"issue":{"href":"https://api.github.com/repos/neelance/go-angularjs/issues/7"},"comments":{"href":"https://api.github.com/repos/neelance/go-angularjs/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/neelance/go-angularjs/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/neelance/go-angularjs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/neelance/go-angularjs/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/neelance/go-angularjs/statuses/8398fe173a452eea4555bf0515d43ce26e64ec22"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}