{"action":"created","issue":{"url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/138","labels_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/138/comments","events_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/138/events","html_url":"https://github.com/NUKnightLab/TimelineJS3/issues/138","id":89386849,"number":138,"title":"VCO.Util.mergeData redundant with VCO.Util.extends?","user":{"login":"JoeGermuska","id":46313,"avatar_url":"https://avatars.githubusercontent.com/u/46313?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeGermuska","html_url":"https://github.com/JoeGermuska","followers_url":"https://api.github.com/users/JoeGermuska/followers","following_url":"https://api.github.com/users/JoeGermuska/following{/other_user}","gists_url":"https://api.github.com/users/JoeGermuska/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeGermuska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeGermuska/subscriptions","organizations_url":"https://api.github.com/users/JoeGermuska/orgs","repos_url":"https://api.github.com/users/JoeGermuska/repos","events_url":"https://api.github.com/users/JoeGermuska/events{/privacy}","received_events_url":"https://api.github.com/users/JoeGermuska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/labels/Enhancement","name":"Enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T20:15:27Z","updated_at":"2015-06-18T20:22:29Z","closed_at":null,"body":"from a readthrough, it seems that [VCO.Util.mergeData](https://github.com/NUKnightLab/TimelineJS3/blob/6e6384a511bacdf080cfd5289a613986f0a81b02/source/js/core/VCO.Util.js#L80-L88) and [VCO.Util.extend](https://github.com/NUKnightLab/TimelineJS3/blob/6e6384a511bacdf080cfd5289a613986f0a81b02/source/js/core/VCO.Util.js#L7-L18) do the same thing, except that `extend` takes an arbitrary number of sources to merge into the destination while `mergeData` only takes one.\r\n\r\nFor the sake of simplifying the code, if this is true, we should eliminate `mergeData` and replace uses of it with calls to `extend`"},"comment":{"url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/comments/113278902","html_url":"https://github.com/NUKnightLab/TimelineJS3/issues/138#issuecomment-113278902","issue_url":"https://api.github.com/repos/NUKnightLab/TimelineJS3/issues/138","id":113278902,"user":{"login":"zachwise","id":741789,"avatar_url":"https://avatars.githubusercontent.com/u/741789?v=3","gravatar_id":"","url":"https://api.github.com/users/zachwise","html_url":"https://github.com/zachwise","followers_url":"https://api.github.com/users/zachwise/followers","following_url":"https://api.github.com/users/zachwise/following{/other_user}","gists_url":"https://api.github.com/users/zachwise/gists{/gist_id}","starred_url":"https://api.github.com/users/zachwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachwise/subscriptions","organizations_url":"https://api.github.com/users/zachwise/orgs","repos_url":"https://api.github.com/users/zachwise/repos","events_url":"https://api.github.com/users/zachwise/events{/privacy}","received_events_url":"https://api.github.com/users/zachwise/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T20:22:29Z","updated_at":"2015-06-18T20:22:29Z","body":"mergeData is in just about every class. I would suggest the opposite. "}}