{"action":"created","issue":{"url":"https://api.github.com/repos/riot/examples/issues/31","repository_url":"https://api.github.com/repos/riot/examples","labels_url":"https://api.github.com/repos/riot/examples/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/riot/examples/issues/31/comments","events_url":"https://api.github.com/repos/riot/examples/issues/31/events","html_url":"https://github.com/riot/examples/issues/31","id":167729124,"number":31,"title":"Plunker Integration question ","user":{"login":"suchja","id":3649865,"avatar_url":"https://avatars.githubusercontent.com/u/3649865?v=3","gravatar_id":"","url":"https://api.github.com/users/suchja","html_url":"https://github.com/suchja","followers_url":"https://api.github.com/users/suchja/followers","following_url":"https://api.github.com/users/suchja/following{/other_user}","gists_url":"https://api.github.com/users/suchja/gists{/gist_id}","starred_url":"https://api.github.com/users/suchja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchja/subscriptions","organizations_url":"https://api.github.com/users/suchja/orgs","repos_url":"https://api.github.com/users/suchja/repos","events_url":"https://api.github.com/users/suchja/events{/privacy}","received_events_url":"https://api.github.com/users/suchja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T22:40:19Z","updated_at":"2016-07-27T04:33:18Z","closed_at":null,"body":"Maybe a little of topic, but I really like your Integration with plunker. Unfortunately I can't find out how it works. Do you know of any tutorial or article describing how to achieve it?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/riot/examples/issues/comments/235481541","html_url":"https://github.com/riot/examples/issues/31#issuecomment-235481541","issue_url":"https://api.github.com/repos/riot/examples/issues/31","id":235481541,"user":{"login":"rsbondi","id":3729091,"avatar_url":"https://avatars.githubusercontent.com/u/3729091?v=3","gravatar_id":"","url":"https://api.github.com/users/rsbondi","html_url":"https://github.com/rsbondi","followers_url":"https://api.github.com/users/rsbondi/followers","following_url":"https://api.github.com/users/rsbondi/following{/other_user}","gists_url":"https://api.github.com/users/rsbondi/gists{/gist_id}","starred_url":"https://api.github.com/users/rsbondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsbondi/subscriptions","organizations_url":"https://api.github.com/users/rsbondi/orgs","repos_url":"https://api.github.com/users/rsbondi/repos","events_url":"https://api.github.com/users/rsbondi/events{/privacy}","received_events_url":"https://api.github.com/users/rsbondi/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T04:33:18Z","updated_at":"2016-07-27T04:33:18Z","body":"look [here](https://github.com/riot/examples/blob/gh-pages/plunker/app.tag) the form is submitted with the values generated by the tag\r\n\r\n```html\r\n  <form name=\"form\" method=\"post\" action=\"http://plnkr.co/edit/?p=preview\">\r\n    <input type=\"hidden\" name=\"description\" value={ manifest.title || 'Riot Example' }>\r\n    <input type=\"hidden\" name=\"private\" value=\"true\">\r\n    <input type=\"hidden\" name=\"tags[0]\" value=\"riotjs\">\r\n    <input type=\"hidden\" name=\"tags[1]\" value=\"example\">\r\n    <input each={ files } type=\"hidden\" name=\"files[{ name }]\" value={ content }>\r\n  </form>\r\n```\r\n\r\n each file you send is mapped from the object \r\n\r\n`{ name: name, content: content }` \r\n\r\nto the form element `\r\n<input each={ files } type=\"hidden\" name=\"files[{ name }]\" value={ content }>`\r\n\r\nwhich translates to for example:\r\n\r\n```html\r\n<input type=\"hidden\" name=\"files[index.html]\" value=\"<html>...</html>\">\r\n<input type=\"hidden\" name=\"files[script.js]\" value=\"function doSomething() {...}\">\r\n```\r\n\r\nthe `value` attribute is the full content of the file you wish to load\r\n"}}
{"actor":{"display_login":"rsbondi"}}