{"url":"https://api.github.com/gists/1171371","forks_url":"https://api.github.com/gists/1171371/forks","commits_url":"https://api.github.com/gists/1171371/commits","id":"1171371","node_id":"MDQ6R2lzdDExNzEzNzE=","git_pull_url":"https://gist.github.com/1171371.git","git_push_url":"https://gist.github.com/1171371.git","html_url":"https://gist.github.com/mbostock/1171371","files":{"transition-end.js":{"filename":"transition-end.js","type":"text/javascript","language":"JavaScript","raw_url":"https://gist.githubusercontent.com/mbostock/1171371/raw/b670dd1608dde48dde3e6047dc51b1466e67fdd9/transition-end.js","size":513,"truncated":false,"content":"d3_transitionPrototype.end = function() {\n  var subgroups = [],\n      subgroup,\n      subnode,\n      node;\n\n  for (var j = -1, m = this.length; ++j < m;) {\n    subgroups.push(subgroup = []);\n    for (var group = this[j], i = -1, n = group.length; ++i < n;) {\n      if (node = group[i]) {\n        subgroup.push({node: node, delay: node.delay + node.duration, duration: node.duration});\n      } else {\n        subgroup.push(null);\n      }\n    }\n  }\n\n  return d3_transition(subgroups, this.id).ease(this.ease());\n};\n","encoding":"utf-8"}},"public":true,"created_at":"2011-08-25T18:24:20Z","updated_at":"2015-09-26T22:48:06Z","description":"Transition End","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/1171371/comments","owner":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","user_view_type":"public","site_admin":false},"forks":[],"history":[{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"27fd0cfec98c949709955c7ae5bd885b0f5aee03","committed_at":"2011-08-25T18:24:54Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/1171371/27fd0cfec98c949709955c7ae5bd885b0f5aee03"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"c5dcd8c152dc57423d726f7e28d6a3dca562e105","committed_at":"2011-08-25T18:24:20Z","change_status":{"total":19,"additions":19,"deletions":0},"url":"https://api.github.com/gists/1171371/c5dcd8c152dc57423d726f7e28d6a3dca562e105"}],"truncated":false}