{"action":"opened","issue":{"url":"https://api.github.com/repos/mikehostetler/amplify/issues/113","labels_url":"https://api.github.com/repos/mikehostetler/amplify/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/mikehostetler/amplify/issues/113/comments","events_url":"https://api.github.com/repos/mikehostetler/amplify/issues/113/events","html_url":"https://github.com/mikehostetler/amplify/issues/113","id":84440172,"number":113,"title":"Not an issue, a suggestion...","user":{"login":"leolems","id":2767882,"avatar_url":"https://avatars.githubusercontent.com/u/2767882?v=3","gravatar_id":"","url":"https://api.github.com/users/leolems","html_url":"https://github.com/leolems","followers_url":"https://api.github.com/users/leolems/followers","following_url":"https://api.github.com/users/leolems/following{/other_user}","gists_url":"https://api.github.com/users/leolems/gists{/gist_id}","starred_url":"https://api.github.com/users/leolems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leolems/subscriptions","organizations_url":"https://api.github.com/users/leolems/orgs","repos_url":"https://api.github.com/users/leolems/repos","events_url":"https://api.github.com/users/leolems/events{/privacy}","received_events_url":"https://api.github.com/users/leolems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T08:46:30Z","updated_at":"2015-06-03T08:46:30Z","closed_at":null,"body":"in the core, add:\r\nTo remove topics, i had a need for it, because i needed to reset\r\n\r\n\r\n\t//================================================\r\n\t// custom function LLS\r\n\t//================================================\r\n\tremoveTopic: function(topic) {\r\n\t\tif ( typeof topic !== \"string\" ) {\r\n\t\t\tthrow new Error( \"You must provide a valid topic to remove it.\" );\r\n\t\t}\r\n\t\t\r\n\t\tfor(var name in subscriptions) {\r\n\t\t\tif (name === topic) {\r\n\t\t\t\tdelete subscriptions[topic];\r\n\t\t\t\tbreak; \r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n"}}