{"action":"created","issue":{"url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/82","repository_url":"https://api.github.com/repos/Unibeautify/unibeautify","labels_url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/82/comments","events_url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/82/events","html_url":"https://github.com/Unibeautify/unibeautify/pull/82","id":313520402,"number":82,"title":"Refactor beautifier.ts","user":{"login":"szeck87","id":8315038,"avatar_url":"https://avatars1.githubusercontent.com/u/8315038?v=4","gravatar_id":"","url":"https://api.github.com/users/szeck87","html_url":"https://github.com/szeck87","followers_url":"https://api.github.com/users/szeck87/followers","following_url":"https://api.github.com/users/szeck87/following{/other_user}","gists_url":"https://api.github.com/users/szeck87/gists{/gist_id}","starred_url":"https://api.github.com/users/szeck87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeck87/subscriptions","organizations_url":"https://api.github.com/users/szeck87/orgs","repos_url":"https://api.github.com/users/szeck87/repos","events_url":"https://api.github.com/users/szeck87/events{/privacy}","received_events_url":"https://api.github.com/users/szeck87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"szeck87","id":8315038,"avatar_url":"https://avatars1.githubusercontent.com/u/8315038?v=4","gravatar_id":"","url":"https://api.github.com/users/szeck87","html_url":"https://github.com/szeck87","followers_url":"https://api.github.com/users/szeck87/followers","following_url":"https://api.github.com/users/szeck87/following{/other_user}","gists_url":"https://api.github.com/users/szeck87/gists{/gist_id}","starred_url":"https://api.github.com/users/szeck87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeck87/subscriptions","organizations_url":"https://api.github.com/users/szeck87/orgs","repos_url":"https://api.github.com/users/szeck87/repos","events_url":"https://api.github.com/users/szeck87/events{/privacy}","received_events_url":"https://api.github.com/users/szeck87/received_events","type":"User","site_admin":false},"assignees":[{"login":"szeck87","id":8315038,"avatar_url":"https://avatars1.githubusercontent.com/u/8315038?v=4","gravatar_id":"","url":"https://api.github.com/users/szeck87","html_url":"https://github.com/szeck87","followers_url":"https://api.github.com/users/szeck87/followers","following_url":"https://api.github.com/users/szeck87/following{/other_user}","gists_url":"https://api.github.com/users/szeck87/gists{/gist_id}","starred_url":"https://api.github.com/users/szeck87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeck87/subscriptions","organizations_url":"https://api.github.com/users/szeck87/orgs","repos_url":"https://api.github.com/users/szeck87/repos","events_url":"https://api.github.com/users/szeck87/events{/privacy}","received_events_url":"https://api.github.com/users/szeck87/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-11T23:20:51Z","updated_at":"2018-04-13T19:02:06Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Unibeautify/unibeautify/pulls/82","html_url":"https://github.com/Unibeautify/unibeautify/pull/82","diff_url":"https://github.com/Unibeautify/unibeautify/pull/82.diff","patch_url":"https://github.com/Unibeautify/unibeautify/pull/82.patch"},"body":"This isn't ready yet, don't merge.  So far..\r\n\r\n* LanguageManager class created and related methods moved to it from beautifier.ts\r\n* OptionsManager class created and related methods moved to it from beautifier.ts\r\n* New instances of the above classes are created when a new Unibeautify class is created, with existing languages and options variables passed into their respective constructors\r\n* Existing public methods in beautifier.ts remain, but are marked as deprecated and just call the methods in the new classes\r\n* LanguageQuery interface created for the findLanguages method\r\n* Reduced code duplication within the findLanguage method\r\n\r\nCloses https://github.com/Unibeautify/unibeautify/issues/74"},"comment":{"url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/comments/381232098","html_url":"https://github.com/Unibeautify/unibeautify/pull/82#issuecomment-381232098","issue_url":"https://api.github.com/repos/Unibeautify/unibeautify/issues/82","id":381232098,"user":{"login":"szeck87","id":8315038,"avatar_url":"https://avatars1.githubusercontent.com/u/8315038?v=4","gravatar_id":"","url":"https://api.github.com/users/szeck87","html_url":"https://github.com/szeck87","followers_url":"https://api.github.com/users/szeck87/followers","following_url":"https://api.github.com/users/szeck87/following{/other_user}","gists_url":"https://api.github.com/users/szeck87/gists{/gist_id}","starred_url":"https://api.github.com/users/szeck87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeck87/subscriptions","organizations_url":"https://api.github.com/users/szeck87/orgs","repos_url":"https://api.github.com/users/szeck87/repos","events_url":"https://api.github.com/users/szeck87/events{/privacy}","received_events_url":"https://api.github.com/users/szeck87/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T19:02:06Z","updated_at":"2018-04-13T19:02:06Z","author_association":"COLLABORATOR","body":"Also, I'd like to make getLanguage permanently public, as I'd rather use that method in Atom Beautify instead of findLanguges."}}
{"actor":{"display_login":"szeck87"}}