{"action":"created","issue":{"url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/1","repository_url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-","labels_url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/1/comments","events_url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/1/events","html_url":"https://github.com/YuliaHappy/Task3-DOM-and-BOM-/pull/1","id":140811915,"number":1,"title":"Task3 (DOM&BOM)","user":{"login":"YuliaHappy","id":15227674,"avatar_url":"https://avatars.githubusercontent.com/u/15227674?v=3","gravatar_id":"","url":"https://api.github.com/users/YuliaHappy","html_url":"https://github.com/YuliaHappy","followers_url":"https://api.github.com/users/YuliaHappy/followers","following_url":"https://api.github.com/users/YuliaHappy/following{/other_user}","gists_url":"https://api.github.com/users/YuliaHappy/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliaHappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliaHappy/subscriptions","organizations_url":"https://api.github.com/users/YuliaHappy/orgs","repos_url":"https://api.github.com/users/YuliaHappy/repos","events_url":"https://api.github.com/users/YuliaHappy/events{/privacy}","received_events_url":"https://api.github.com/users/YuliaHappy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"KeinAsylum","id":3588113,"avatar_url":"https://avatars.githubusercontent.com/u/3588113?v=3","gravatar_id":"","url":"https://api.github.com/users/KeinAsylum","html_url":"https://github.com/KeinAsylum","followers_url":"https://api.github.com/users/KeinAsylum/followers","following_url":"https://api.github.com/users/KeinAsylum/following{/other_user}","gists_url":"https://api.github.com/users/KeinAsylum/gists{/gist_id}","starred_url":"https://api.github.com/users/KeinAsylum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KeinAsylum/subscriptions","organizations_url":"https://api.github.com/users/KeinAsylum/orgs","repos_url":"https://api.github.com/users/KeinAsylum/repos","events_url":"https://api.github.com/users/KeinAsylum/events{/privacy}","received_events_url":"https://api.github.com/users/KeinAsylum/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-14T22:13:45Z","updated_at":"2016-03-15T14:34:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/pulls/1","html_url":"https://github.com/YuliaHappy/Task3-DOM-and-BOM-/pull/1","diff_url":"https://github.com/YuliaHappy/Task3-DOM-and-BOM-/pull/1.diff","patch_url":"https://github.com/YuliaHappy/Task3-DOM-and-BOM-/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/comments/196847341","html_url":"https://github.com/YuliaHappy/Task3-DOM-and-BOM-/pull/1#issuecomment-196847341","issue_url":"https://api.github.com/repos/YuliaHappy/Task3-DOM-and-BOM-/issues/1","id":196847341,"user":{"login":"KeinAsylum","id":3588113,"avatar_url":"https://avatars.githubusercontent.com/u/3588113?v=3","gravatar_id":"","url":"https://api.github.com/users/KeinAsylum","html_url":"https://github.com/KeinAsylum","followers_url":"https://api.github.com/users/KeinAsylum/followers","following_url":"https://api.github.com/users/KeinAsylum/following{/other_user}","gists_url":"https://api.github.com/users/KeinAsylum/gists{/gist_id}","starred_url":"https://api.github.com/users/KeinAsylum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KeinAsylum/subscriptions","organizations_url":"https://api.github.com/users/KeinAsylum/orgs","repos_url":"https://api.github.com/users/KeinAsylum/repos","events_url":"https://api.github.com/users/KeinAsylum/events{/privacy}","received_events_url":"https://api.github.com/users/KeinAsylum/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T14:34:43Z","updated_at":"2016-03-15T14:34:43Z","body":"Можно было использовать паттерн модуль. К примеру InsuranceUtil это фактически модуль работы с localStorage. Намного понятней в коде будет видеть конструкцию вида moduleName.save(obj) нежели просто save(obj) и не понятно откуда он взялся."}}