{"action":"created","issue":{"url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/10","labels_url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/10/comments","events_url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/10/events","html_url":"https://github.com/devenbhooshan/graph.js/issues/10","id":99910952,"number":10,"title":"Detection by name not working","user":{"login":"Berianu","id":3659114,"avatar_url":"https://avatars.githubusercontent.com/u/3659114?v=3","gravatar_id":"","url":"https://api.github.com/users/Berianu","html_url":"https://github.com/Berianu","followers_url":"https://api.github.com/users/Berianu/followers","following_url":"https://api.github.com/users/Berianu/following{/other_user}","gists_url":"https://api.github.com/users/Berianu/gists{/gist_id}","starred_url":"https://api.github.com/users/Berianu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berianu/subscriptions","organizations_url":"https://api.github.com/users/Berianu/orgs","repos_url":"https://api.github.com/users/Berianu/repos","events_url":"https://api.github.com/users/Berianu/events{/privacy}","received_events_url":"https://api.github.com/users/Berianu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-09T16:20:32Z","updated_at":"2015-08-09T16:22:12Z","closed_at":null,"body":"I suggest using this instead of that indexOf\r\n\r\n  var array = graph.nodes;\r\n    var source = array.filter(function( obj ) {\r\n        return obj.name == \"apple\";\r\n    });"},"comment":{"url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/comments/129212670","html_url":"https://github.com/devenbhooshan/graph.js/issues/10#issuecomment-129212670","issue_url":"https://api.github.com/repos/devenbhooshan/graph.js/issues/10","id":129212670,"user":{"login":"Berianu","id":3659114,"avatar_url":"https://avatars.githubusercontent.com/u/3659114?v=3","gravatar_id":"","url":"https://api.github.com/users/Berianu","html_url":"https://github.com/Berianu","followers_url":"https://api.github.com/users/Berianu/followers","following_url":"https://api.github.com/users/Berianu/following{/other_user}","gists_url":"https://api.github.com/users/Berianu/gists{/gist_id}","starred_url":"https://api.github.com/users/Berianu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berianu/subscriptions","organizations_url":"https://api.github.com/users/Berianu/orgs","repos_url":"https://api.github.com/users/Berianu/repos","events_url":"https://api.github.com/users/Berianu/events{/privacy}","received_events_url":"https://api.github.com/users/Berianu/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T16:22:12Z","updated_at":"2015-08-09T16:22:12Z","body":"Also, node removal isn't working because of the same issue. "}}