{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/n-image/pulls/49","id":90985007,"html_url":"https://github.com/Financial-Times/n-image/pull/49","diff_url":"https://github.com/Financial-Times/n-image/pull/49.diff","patch_url":"https://github.com/Financial-Times/n-image/pull/49.patch","issue_url":"https://api.github.com/repos/Financial-Times/n-image/issues/49","number":49,"state":"open","locked":false,"title":"the beginning of de-babel-ifying this simple component","user":{"login":"bjfletcher","id":733849,"avatar_url":"https://avatars.githubusercontent.com/u/733849?v=3","gravatar_id":"","url":"https://api.github.com/users/bjfletcher","html_url":"https://github.com/bjfletcher","followers_url":"https://api.github.com/users/bjfletcher/followers","following_url":"https://api.github.com/users/bjfletcher/following{/other_user}","gists_url":"https://api.github.com/users/bjfletcher/gists{/gist_id}","starred_url":"https://api.github.com/users/bjfletcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjfletcher/subscriptions","organizations_url":"https://api.github.com/users/bjfletcher/orgs","repos_url":"https://api.github.com/users/bjfletcher/repos","events_url":"https://api.github.com/users/bjfletcher/events{/privacy}","received_events_url":"https://api.github.com/users/bjfletcher/received_events","type":"User","site_admin":false},"body":"@debugwand \r\n\r\nI'd much prefer something like this, not the transpiling process @i-like-robots has put in place.\r\n\r\nMake this simple component compatible with Node 6 without the need for any transpilation.\r\n\r\nThen leave it to the app's webpack to transpile for browsers.\r\n\r\nI don't see any benefit in using `import`, React, etc., with this simple `n-image` component.  It should be more like one of the Origami components really.","created_at":"2016-10-26T11:24:57Z","updated_at":"2016-10-26T11:24:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/49/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/49/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/issues/49/comments","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/7ff3d0eb5cf85034389ffec2b2cf5cff6f840d32","head":{"label":"Financial-Times:de-babel-ify","ref":"de-babel-ify","sha":"7ff3d0eb5cf85034389ffec2b2cf5cff6f840d32","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":39016244,"name":"n-image","full_name":"Financial-Times/n-image","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-image","description":"Next responsive image component","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-image","forks_url":"https://api.github.com/repos/Financial-Times/n-image/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-image/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-image/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-image/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-image/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-image/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-image/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-image/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-image/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-image/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-image/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-image/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-image/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-image/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-image/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-image/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-image/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-image/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-image/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-image/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-image/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-image/deployments","created_at":"2015-07-13T14:14:17Z","updated_at":"2016-10-25T14:28:25Z","pushed_at":"2016-10-26T11:24:58Z","git_url":"git://github.com/Financial-Times/n-image.git","ssh_url":"git@github.com:Financial-Times/n-image.git","clone_url":"https://github.com/Financial-Times/n-image.git","svn_url":"https://github.com/Financial-Times/n-image","homepage":null,"size":127,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"f2281a58ed624e424a7a2d2d06990de40d61d568","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":39016244,"name":"n-image","full_name":"Financial-Times/n-image","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-image","description":"Next responsive image component","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-image","forks_url":"https://api.github.com/repos/Financial-Times/n-image/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-image/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-image/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-image/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-image/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-image/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-image/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-image/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-image/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-image/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-image/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-image/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-image/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-image/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-image/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-image/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-image/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-image/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-image/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-image/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-image/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-image/deployments","created_at":"2015-07-13T14:14:17Z","updated_at":"2016-10-25T14:28:25Z","pushed_at":"2016-10-26T11:24:58Z","git_url":"git://github.com/Financial-Times/n-image.git","ssh_url":"git@github.com:Financial-Times/n-image.git","clone_url":"https://github.com/Financial-Times/n-image.git","svn_url":"https://github.com/Financial-Times/n-image","homepage":null,"size":127,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/49"},"html":{"href":"https://github.com/Financial-Times/n-image/pull/49"},"issue":{"href":"https://api.github.com/repos/Financial-Times/n-image/issues/49"},"comments":{"href":"https://api.github.com/repos/Financial-Times/n-image/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/n-image/statuses/7ff3d0eb5cf85034389ffec2b2cf5cff6f840d32"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"bjfletcher"}}