{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/1287","repository_url":"https://api.github.com/repos/babel/babel.github.io","labels_url":"https://api.github.com/repos/babel/babel.github.io/issues/1287/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel.github.io/issues/1287/comments","events_url":"https://api.github.com/repos/babel/babel.github.io/issues/1287/events","html_url":"https://github.com/babel/babel.github.io/issues/1287","id":247125720,"number":1287,"title":"REPL: rewrite as a component (or reuse something else)","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars1.githubusercontent.com/u/588473?v=4","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"labels":[{"id":165588818,"url":"https://api.github.com/repos/babel/babel.github.io/labels/repl","name":"repl","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/babel/babel.github.io/milestones/1","html_url":"https://github.com/babel/babel.github.io/milestone/1","labels_url":"https://api.github.com/repos/babel/babel.github.io/milestones/1/labels","id":2683164,"number":1,"title":"New REPL","description":"","creator":{"login":"hzoo","id":588473,"avatar_url":"https://avatars1.githubusercontent.com/u/588473?v=4","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2017-08-06T04:12:17Z","updated_at":"2017-08-06T04:13:41Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2017-08-01T16:21:43Z","updated_at":"2017-08-07T22:12:21Z","closed_at":null,"body":"At minimum we can refactor this script into something that uses something like preact/vue? It's just getting more and more annoying to deal with atm. We don't have to rewrite the whole site just that file. https://github.com/babel/babel.github.io/tree/master/scripts in repl.js (and 7.js since I just made that to make something show up).\r\n\r\nOr we can just use the preact repl @developit?\r\n\r\nCan do this independently or with doing https://github.com/babel/babel.github.io/issues/858 (being able to use any package/babel plugin on npm)\r\n\r\n- [ ] https://github.com/babel/babel.github.io/blob/master/repl.html (uses a few js scripts https://github.com/babel/babel.github.io/blob/master/repl.html#L7-L15) like jquery, lz-string, ace (could switch that for something else like codemirror/monaco if easier)\r\n- [ ] https://github.com/babel/babel.github.io/blob/master/scripts/repl.js\r\n- [ ] ideally we can move [7.html](https://github.com/babel/babel.github.io/blob/master/7.html) and [7.js](https://github.com/babel/babel.github.io/blob/master/scripts/7.js) which I forked so you could have a dropdown for versions but I guess this would be covered by https://github.com/babel/babel.github.io/pull/1284 which would give us query params for babel versions. cc @Daniel15"},"comment":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/comments/320795128","html_url":"https://github.com/babel/babel.github.io/issues/1287#issuecomment-320795128","issue_url":"https://api.github.com/repos/babel/babel.github.io/issues/1287","id":320795128,"user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T22:12:21Z","updated_at":"2017-08-07T22:12:21Z","body":"I created PR #1297 with some open questions and TODOs. Let's talk more there. 😄 "}}
{"actor":{"display_login":"bvaughn"}}