{"action":"created","issue":{"url":"https://api.github.com/repos/robotmoose/robotmoose/issues/115","repository_url":"https://api.github.com/repos/robotmoose/robotmoose","labels_url":"https://api.github.com/repos/robotmoose/robotmoose/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/robotmoose/robotmoose/issues/115/comments","events_url":"https://api.github.com/repos/robotmoose/robotmoose/issues/115/events","html_url":"https://github.com/robotmoose/robotmoose/issues/115","id":166744368,"number":115,"title":"Superstarv2 Backend Integration","user":{"login":"mrmoss","id":1828563,"avatar_url":"https://avatars.githubusercontent.com/u/1828563?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmoss","html_url":"https://github.com/mrmoss","followers_url":"https://api.github.com/users/mrmoss/followers","following_url":"https://api.github.com/users/mrmoss/following{/other_user}","gists_url":"https://api.github.com/users/mrmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmoss/subscriptions","organizations_url":"https://api.github.com/users/mrmoss/orgs","repos_url":"https://api.github.com/users/mrmoss/repos","events_url":"https://api.github.com/users/mrmoss/events{/privacy}","received_events_url":"https://api.github.com/users/mrmoss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotmoose/robotmoose/labels/bug","name":"bug","color":"fbca04"},{"url":"https://api.github.com/repos/robotmoose/robotmoose/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/robotmoose/robotmoose/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-21T06:08:06Z","updated_at":"2016-07-24T07:03:21Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/robotmoose/robotmoose/issues/comments/234761803","html_url":"https://github.com/robotmoose/robotmoose/issues/115#issuecomment-234761803","issue_url":"https://api.github.com/repos/robotmoose/robotmoose/issues/115","id":234761803,"user":{"login":"Arsh25","id":3912597,"avatar_url":"https://avatars.githubusercontent.com/u/3912597?v=3","gravatar_id":"","url":"https://api.github.com/users/Arsh25","html_url":"https://github.com/Arsh25","followers_url":"https://api.github.com/users/Arsh25/followers","following_url":"https://api.github.com/users/Arsh25/following{/other_user}","gists_url":"https://api.github.com/users/Arsh25/gists{/gist_id}","starred_url":"https://api.github.com/users/Arsh25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arsh25/subscriptions","organizations_url":"https://api.github.com/users/Arsh25/orgs","repos_url":"https://api.github.com/users/Arsh25/repos","events_url":"https://api.github.com/users/Arsh25/events{/privacy}","received_events_url":"https://api.github.com/users/Arsh25/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T07:03:21Z","updated_at":"2016-07-24T07:03:21Z","body":"Exactly my point. I was referencing your suggestion of \r\n`robot.superstar.sub(\"/robots\",function(years)\r\n{\r\n    print(years)\r\n})\r\nrobot.superstar.flush()\r\n`\r\n\r\nThis suggest that superstar is a property of robot. If I understand this correctly, it will store all robots in a superstar into the robot object. It makes more sense to me that a Superstar had robots, so we would have a superstar object that has a method to get all robots and each robot would be a robot object. So the above would be \r\n\r\n`var robots = superstar.sub(\"/robots\",function(year)\r\n{\r\n    //Do stuff to append a robot to a list of robots with robot.year=year here \r\n})\r\nsuperstar.flush()\r\n`\r\n\r\n"}}
{"actor":{"display_login":"Arsh25"}}