{"pull_request":{"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/a2aed58cdb9790eb30d63112c78d1275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a2aed58cdb9790eb30d63112c78d1275","url":"https://api.github.com/users/tobio","login":"tobio","id":444668},"deletions":3,"merged_by":null,"updated_at":"2011-11-06T22:03:54Z","diff_url":"https://github.com/jquery/jquery/pull/576.diff","base":{"ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/6906f317a4733f4379b06c32229ef02f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"6906f317a4733f4379b06c32229ef02f","url":"https://api.github.com/users/jquery","login":"jquery","id":70142},"repo":{"name":"jquery","master_branch":null,"pushed_at":"2011-11-06T22:03:14Z","fork":false,"updated_at":"2011-11-06T22:03:14Z","homepage":"http://jquery.com/","open_issues":20,"clone_url":"https://github.com/jquery/jquery.git","svn_url":"https://svn.github.com/jquery/jquery","private":false,"language":"JavaScript","forks":1148,"url":"https://api.github.com/repos/jquery/jquery","owner":{"avatar_url":"https://secure.gravatar.com/avatar/6906f317a4733f4379b06c32229ef02f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"6906f317a4733f4379b06c32229ef02f","url":"https://api.github.com/users/jquery","login":"jquery","id":70142},"html_url":"https://github.com/jquery/jquery","description":"jQuery JavaScript Library","size":3948,"id":167174,"git_url":"git://github.com/jquery/jquery.git","watchers":10112,"created_at":"2009-04-03T15:20:14Z","ssh_url":"git@github.com:jquery/jquery.git"},"label":"jquery:master","sha":"8380e12ab4aa3241a1b365f86c121d27a5ea65a5"},"commits":3,"comments":4,"closed_at":"2011-11-06T22:03:54Z","additions":32,"merged":false,"head":{"ref":"bug_10177","user":{"avatar_url":"https://secure.gravatar.com/avatar/a2aed58cdb9790eb30d63112c78d1275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a2aed58cdb9790eb30d63112c78d1275","url":"https://api.github.com/users/tobio","login":"tobio","id":444668},"repo":{"name":"jquery","master_branch":null,"pushed_at":"2011-11-04T21:45:09Z","fork":true,"updated_at":"2011-11-04T21:45:09Z","homepage":"http://jquery.com/","open_issues":0,"clone_url":"https://github.com/tobio/jquery.git","svn_url":"https://svn.github.com/tobio/jquery","private":false,"language":"JavaScript","forks":0,"url":"https://api.github.com/repos/tobio/jquery","owner":{"avatar_url":"https://secure.gravatar.com/avatar/a2aed58cdb9790eb30d63112c78d1275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a2aed58cdb9790eb30d63112c78d1275","url":"https://api.github.com/users/tobio","login":"tobio","id":444668},"html_url":"https://github.com/tobio/jquery","description":"jQuery JavaScript Library","size":144,"id":2707906,"git_url":"git://github.com/tobio/jquery.git","watchers":1,"created_at":"2011-11-04T08:22:34Z","ssh_url":"git@github.com:tobio/jquery.git"},"label":"tobio:bug_10177","sha":"fdad5b6716cd6648f6300db0122f15bd2cb84d3c"},"url":"https://api.github.com/repos/jquery/jquery/pulls/576","body":"Functions provided to .wrap are handed off to .wrapAll. In these cases .wrapAll is only operating on a single element and hence the index provided to the function is always 0. \r\n\r\nI'm calling the function within the .wrap method providing the correct index, and then handing the resultant html to .wrapAll","merged_at":null,"review_comments":5,"_links":{"comments":{"href":"https://api.github.com/repos/jquery/jquery/issues/576/comments"},"html":{"href":"https://github.com/jquery/jquery/pull/576"},"review_comments":{"href":"https://api.github.com/repos/jquery/jquery/pulls/576/comments"},"self":{"href":"https://api.github.com/repos/jquery/jquery/pulls/576"}},"issue_url":"https://github.com/jquery/jquery/issues/576","html_url":"https://github.com/jquery/jquery/pull/576","title":"Functions provided to .wrap do not get the correct index. Fixes 10177 ","number":576,"mergeable":true,"id":463236,"changed_files":2,"patch_url":"https://github.com/jquery/jquery/pull/576.patch","created_at":"2011-11-04T09:30:47Z"},"action":"closed","number":576}