{"action":"opened","number":4309,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/4309","id":39408303,"html_url":"https://github.com/facebook/react/pull/4309","diff_url":"https://github.com/facebook/react/pull/4309.diff","patch_url":"https://github.com/facebook/react/pull/4309.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/4309","number":4309,"state":"open","locked":false,"title":"Concatenate warning message, due to parsing issues","user":{"login":"mmoss","id":648160,"avatar_url":"https://avatars.githubusercontent.com/u/648160?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoss","html_url":"https://github.com/mmoss","followers_url":"https://api.github.com/users/mmoss/followers","following_url":"https://api.github.com/users/mmoss/following{/other_user}","gists_url":"https://api.github.com/users/mmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoss/subscriptions","organizations_url":"https://api.github.com/users/mmoss/orgs","repos_url":"https://api.github.com/users/mmoss/repos","events_url":"https://api.github.com/users/mmoss/events{/privacy}","received_events_url":"https://api.github.com/users/mmoss/received_events","type":"User","site_admin":false},"body":"The addons module warning is currently causing issues with babel/JSPM due to the warning message getting parsed as a require statement. Adding a break using string concatenation appears to prevent any issues.\r\n\r\nExample error using JSPM:\r\n\r\n```\r\nError loading \"react-addons-{addon}\" from...\r\n```","created_at":"2015-07-07T19:39:42Z","updated_at":"2015-07-07T19:39:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/4309/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/4309/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/4309/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/25c351f0b235674354c841c252ed00432e932f8d","head":{"label":"mmoss:addons-warning-fix","ref":"addons-warning-fix","sha":"25c351f0b235674354c841c252ed00432e932f8d","user":{"login":"mmoss","id":648160,"avatar_url":"https://avatars.githubusercontent.com/u/648160?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoss","html_url":"https://github.com/mmoss","followers_url":"https://api.github.com/users/mmoss/followers","following_url":"https://api.github.com/users/mmoss/following{/other_user}","gists_url":"https://api.github.com/users/mmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoss/subscriptions","organizations_url":"https://api.github.com/users/mmoss/orgs","repos_url":"https://api.github.com/users/mmoss/repos","events_url":"https://api.github.com/users/mmoss/events{/privacy}","received_events_url":"https://api.github.com/users/mmoss/received_events","type":"User","site_admin":false},"repo":{"id":38709494,"name":"react","full_name":"mmoss/react","owner":{"login":"mmoss","id":648160,"avatar_url":"https://avatars.githubusercontent.com/u/648160?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoss","html_url":"https://github.com/mmoss","followers_url":"https://api.github.com/users/mmoss/followers","following_url":"https://api.github.com/users/mmoss/following{/other_user}","gists_url":"https://api.github.com/users/mmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoss/subscriptions","organizations_url":"https://api.github.com/users/mmoss/orgs","repos_url":"https://api.github.com/users/mmoss/repos","events_url":"https://api.github.com/users/mmoss/events{/privacy}","received_events_url":"https://api.github.com/users/mmoss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmoss/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/mmoss/react","forks_url":"https://api.github.com/repos/mmoss/react/forks","keys_url":"https://api.github.com/repos/mmoss/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmoss/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmoss/react/teams","hooks_url":"https://api.github.com/repos/mmoss/react/hooks","issue_events_url":"https://api.github.com/repos/mmoss/react/issues/events{/number}","events_url":"https://api.github.com/repos/mmoss/react/events","assignees_url":"https://api.github.com/repos/mmoss/react/assignees{/user}","branches_url":"https://api.github.com/repos/mmoss/react/branches{/branch}","tags_url":"https://api.github.com/repos/mmoss/react/tags","blobs_url":"https://api.github.com/repos/mmoss/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmoss/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmoss/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmoss/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmoss/react/statuses/{sha}","languages_url":"https://api.github.com/repos/mmoss/react/languages","stargazers_url":"https://api.github.com/repos/mmoss/react/stargazers","contributors_url":"https://api.github.com/repos/mmoss/react/contributors","subscribers_url":"https://api.github.com/repos/mmoss/react/subscribers","subscription_url":"https://api.github.com/repos/mmoss/react/subscription","commits_url":"https://api.github.com/repos/mmoss/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmoss/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmoss/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmoss/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmoss/react/contents/{+path}","compare_url":"https://api.github.com/repos/mmoss/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmoss/react/merges","archive_url":"https://api.github.com/repos/mmoss/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmoss/react/downloads","issues_url":"https://api.github.com/repos/mmoss/react/issues{/number}","pulls_url":"https://api.github.com/repos/mmoss/react/pulls{/number}","milestones_url":"https://api.github.com/repos/mmoss/react/milestones{/number}","notifications_url":"https://api.github.com/repos/mmoss/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmoss/react/labels{/name}","releases_url":"https://api.github.com/repos/mmoss/react/releases{/id}","created_at":"2015-07-07T19:19:15Z","updated_at":"2015-07-07T19:19:17Z","pushed_at":"2015-07-07T19:32:02Z","git_url":"git://github.com/mmoss/react.git","ssh_url":"git@github.com:mmoss/react.git","clone_url":"https://github.com/mmoss/react.git","svn_url":"https://github.com/mmoss/react","homepage":"https://facebook.github.io/react/","size":105417,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"2284c0f44969994077e29fa2b8700440c13aef52","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2015-07-07T19:29:52Z","pushed_at":"2015-07-07T19:32:03Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":105417,"stargazers_count":24503,"watchers_count":24503,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3557,"mirror_url":null,"open_issues_count":583,"forks":3557,"open_issues":583,"watchers":24503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/4309"},"html":{"href":"https://github.com/facebook/react/pull/4309"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/4309"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/4309/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/4309/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/4309/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/25c351f0b235674354c841c252ed00432e932f8d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}