{"action":"closed","number":1433,"pull_request":{"url":"https://api.github.com/repos/google/closure-compiler/pulls/1433","id":57016118,"html_url":"https://github.com/google/closure-compiler/pull/1433","diff_url":"https://github.com/google/closure-compiler/pull/1433.diff","patch_url":"https://github.com/google/closure-compiler/pull/1433.patch","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/1433","number":1433,"state":"closed","locked":false,"title":"Allow code to @export a list of tokens.","user":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"body":"E.g.: `/** @export */ ['a', 'b'];`\r\n\r\nThis is useful for applications that use a reflection based templating language\r\nto tell JSCompiler which tokens are ever used in a template expression. The\r\nintention is to e.g. generate a list of tokens from Angular templates as part of\r\nthe compilation process of an app.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/google/closure-compiler/1433)\n<!-- Reviewable:end -->\n","created_at":"2016-01-24T22:32:19Z","updated_at":"2016-02-22T21:30:13Z","closed_at":"2016-02-22T21:30:13Z","merged_at":null,"merge_commit_sha":"bafcc1992ec70d9cce7a42f84cc707860d487bf3","assignee":{"login":"concavelenz","id":1245994,"avatar_url":"https://avatars.githubusercontent.com/u/1245994?v=3","gravatar_id":"","url":"https://api.github.com/users/concavelenz","html_url":"https://github.com/concavelenz","followers_url":"https://api.github.com/users/concavelenz/followers","following_url":"https://api.github.com/users/concavelenz/following{/other_user}","gists_url":"https://api.github.com/users/concavelenz/gists{/gist_id}","starred_url":"https://api.github.com/users/concavelenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concavelenz/subscriptions","organizations_url":"https://api.github.com/users/concavelenz/orgs","repos_url":"https://api.github.com/users/concavelenz/repos","events_url":"https://api.github.com/users/concavelenz/events{/privacy}","received_events_url":"https://api.github.com/users/concavelenz/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/closure-compiler/pulls/1433/commits","review_comments_url":"https://api.github.com/repos/google/closure-compiler/pulls/1433/comments","review_comment_url":"https://api.github.com/repos/google/closure-compiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/1433/comments","statuses_url":"https://api.github.com/repos/google/closure-compiler/statuses/fd99ecf36570f5c03c78a2e825d96683c2a77e5a","head":{"label":"mprobst:export-array","ref":"export-array","sha":"fd99ecf36570f5c03c78a2e825d96683c2a77e5a","user":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"repo":{"id":27299132,"name":"closure-compiler","full_name":"mprobst/closure-compiler","owner":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mprobst/closure-compiler","description":"A JavaScript checker and optimizer.","fork":true,"url":"https://api.github.com/repos/mprobst/closure-compiler","forks_url":"https://api.github.com/repos/mprobst/closure-compiler/forks","keys_url":"https://api.github.com/repos/mprobst/closure-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mprobst/closure-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mprobst/closure-compiler/teams","hooks_url":"https://api.github.com/repos/mprobst/closure-compiler/hooks","issue_events_url":"https://api.github.com/repos/mprobst/closure-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/mprobst/closure-compiler/events","assignees_url":"https://api.github.com/repos/mprobst/closure-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/mprobst/closure-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/mprobst/closure-compiler/tags","blobs_url":"https://api.github.com/repos/mprobst/closure-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mprobst/closure-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mprobst/closure-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/mprobst/closure-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mprobst/closure-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/mprobst/closure-compiler/languages","stargazers_url":"https://api.github.com/repos/mprobst/closure-compiler/stargazers","contributors_url":"https://api.github.com/repos/mprobst/closure-compiler/contributors","subscribers_url":"https://api.github.com/repos/mprobst/closure-compiler/subscribers","subscription_url":"https://api.github.com/repos/mprobst/closure-compiler/subscription","commits_url":"https://api.github.com/repos/mprobst/closure-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/mprobst/closure-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/mprobst/closure-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/mprobst/closure-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/mprobst/closure-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/mprobst/closure-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mprobst/closure-compiler/merges","archive_url":"https://api.github.com/repos/mprobst/closure-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mprobst/closure-compiler/downloads","issues_url":"https://api.github.com/repos/mprobst/closure-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/mprobst/closure-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/mprobst/closure-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/mprobst/closure-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mprobst/closure-compiler/labels{/name}","releases_url":"https://api.github.com/repos/mprobst/closure-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/mprobst/closure-compiler/deployments","created_at":"2014-11-29T10:45:15Z","updated_at":"2016-01-24T20:52:37Z","pushed_at":"2016-01-24T21:20:30Z","git_url":"git://github.com/mprobst/closure-compiler.git","ssh_url":"git@github.com:mprobst/closure-compiler.git","clone_url":"https://github.com/mprobst/closure-compiler.git","svn_url":"https://github.com/mprobst/closure-compiler","homepage":" https://developers.google.com/closure/compiler/","size":106516,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"google:master","ref":"master","sha":"48d8e9b3abf5bc462277984571feb5a49f792464","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":18845024,"name":"closure-compiler","full_name":"google/closure-compiler","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/closure-compiler","description":"A JavaScript checker and optimizer.","fork":false,"url":"https://api.github.com/repos/google/closure-compiler","forks_url":"https://api.github.com/repos/google/closure-compiler/forks","keys_url":"https://api.github.com/repos/google/closure-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/closure-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/closure-compiler/teams","hooks_url":"https://api.github.com/repos/google/closure-compiler/hooks","issue_events_url":"https://api.github.com/repos/google/closure-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/google/closure-compiler/events","assignees_url":"https://api.github.com/repos/google/closure-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/google/closure-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/google/closure-compiler/tags","blobs_url":"https://api.github.com/repos/google/closure-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/closure-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/closure-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/closure-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/closure-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/google/closure-compiler/languages","stargazers_url":"https://api.github.com/repos/google/closure-compiler/stargazers","contributors_url":"https://api.github.com/repos/google/closure-compiler/contributors","subscribers_url":"https://api.github.com/repos/google/closure-compiler/subscribers","subscription_url":"https://api.github.com/repos/google/closure-compiler/subscription","commits_url":"https://api.github.com/repos/google/closure-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/closure-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/closure-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/closure-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/closure-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/google/closure-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/closure-compiler/merges","archive_url":"https://api.github.com/repos/google/closure-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/closure-compiler/downloads","issues_url":"https://api.github.com/repos/google/closure-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/google/closure-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/google/closure-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/google/closure-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/closure-compiler/labels{/name}","releases_url":"https://api.github.com/repos/google/closure-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/google/closure-compiler/deployments","created_at":"2014-04-16T15:30:36Z","updated_at":"2016-02-22T16:00:55Z","pushed_at":"2016-02-22T21:18:05Z","git_url":"git://github.com/google/closure-compiler.git","ssh_url":"git@github.com:google/closure-compiler.git","clone_url":"https://github.com/google/closure-compiler.git","svn_url":"https://github.com/google/closure-compiler","homepage":"https://developers.google.com/closure/compiler/","size":109559,"stargazers_count":2070,"watchers_count":2070,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":461,"mirror_url":null,"open_issues_count":480,"forks":461,"open_issues":480,"watchers":2070,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/closure-compiler/pulls/1433"},"html":{"href":"https://github.com/google/closure-compiler/pull/1433"},"issue":{"href":"https://api.github.com/repos/google/closure-compiler/issues/1433"},"comments":{"href":"https://api.github.com/repos/google/closure-compiler/issues/1433/comments"},"review_comments":{"href":"https://api.github.com/repos/google/closure-compiler/pulls/1433/comments"},"review_comment":{"href":"https://api.github.com/repos/google/closure-compiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/closure-compiler/pulls/1433/commits"},"statuses":{"href":"https://api.github.com/repos/google/closure-compiler/statuses/fd99ecf36570f5c03c78a2e825d96683c2a77e5a"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":15,"review_comments":0,"commits":1,"additions":56,"deletions":0,"changed_files":2}}