{"action":"opened","issue":{"url":"https://api.github.com/repos/tamirs9876/JSON.Tree.Builder/issues/1","repository_url":"https://api.github.com/repos/tamirs9876/JSON.Tree.Builder","labels_url":"https://api.github.com/repos/tamirs9876/JSON.Tree.Builder/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tamirs9876/JSON.Tree.Builder/issues/1/comments","events_url":"https://api.github.com/repos/tamirs9876/JSON.Tree.Builder/issues/1/events","html_url":"https://github.com/tamirs9876/JSON.Tree.Builder/issues/1","id":317122334,"number":1,"title":"Remove jquery dependency from generate tree","user":{"login":"julianpeterpollak","id":22880673,"avatar_url":"https://avatars0.githubusercontent.com/u/22880673?v=4","gravatar_id":"","url":"https://api.github.com/users/julianpeterpollak","html_url":"https://github.com/julianpeterpollak","followers_url":"https://api.github.com/users/julianpeterpollak/followers","following_url":"https://api.github.com/users/julianpeterpollak/following{/other_user}","gists_url":"https://api.github.com/users/julianpeterpollak/gists{/gist_id}","starred_url":"https://api.github.com/users/julianpeterpollak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianpeterpollak/subscriptions","organizations_url":"https://api.github.com/users/julianpeterpollak/orgs","repos_url":"https://api.github.com/users/julianpeterpollak/repos","events_url":"https://api.github.com/users/julianpeterpollak/events{/privacy}","received_events_url":"https://api.github.com/users/julianpeterpollak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T08:31:15Z","updated_at":"2018-04-24T08:31:15Z","closed_at":null,"author_association":"NONE","body":"In case needed - removed Jquery dependency from the generate tree function:\r\n\r\n```\r\nfunction generateTree(data) {\r\n    if (typeof (data) == 'object' && data != null) {\r\n        var ul = document.createElement('ul');\r\n        for (var item in data) {\r\n            var li = document.createElement('li');\r\n            li.innerHTML = item;\r\n            li.appendChild( generateTree( data[ item ]));\r\n            ul.appendChild( li );\r\n        }\r\n        return ul;\r\n    } else {\r\n        var v = (data == undefined) ? '[empty]' : data;\r\n        return document.createTextNode(' : ' + v);\r\n    }\r\n};\r\n```"}}
{"actor":{"display_login":"julianpeterpollak"}}