{"action":"created","issue":{"url":"https://api.github.com/repos/prebid/Prebid.js/issues/280","repository_url":"https://api.github.com/repos/prebid/Prebid.js","labels_url":"https://api.github.com/repos/prebid/Prebid.js/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/issues/280/comments","events_url":"https://api.github.com/repos/prebid/Prebid.js/issues/280/events","html_url":"https://github.com/prebid/Prebid.js/pull/280","id":144381384,"number":280,"title":"Fix reentrancy allow requestBid for multiple ad units at same time","user":{"login":"ialex","id":94527,"avatar_url":"https://avatars.githubusercontent.com/u/94527?v=3","gravatar_id":"","url":"https://api.github.com/users/ialex","html_url":"https://github.com/ialex","followers_url":"https://api.github.com/users/ialex/followers","following_url":"https://api.github.com/users/ialex/following{/other_user}","gists_url":"https://api.github.com/users/ialex/gists{/gist_id}","starred_url":"https://api.github.com/users/ialex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialex/subscriptions","organizations_url":"https://api.github.com/users/ialex/orgs","repos_url":"https://api.github.com/users/ialex/repos","events_url":"https://api.github.com/users/ialex/events{/privacy}","received_events_url":"https://api.github.com/users/ialex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T20:42:07Z","updated_at":"2016-03-30T15:03:03Z","closed_at":"2016-03-30T15:03:03Z","pull_request":{"url":"https://api.github.com/repos/prebid/Prebid.js/pulls/280","html_url":"https://github.com/prebid/Prebid.js/pull/280","diff_url":"https://github.com/prebid/Prebid.js/pull/280.diff","patch_url":"https://github.com/prebid/Prebid.js/pull/280.patch"},"body":"It changes the API to pass Bids as context and the bidReponses:\r\n\r\nFIx for #268 \r\n\r\n```\r\npbjs.que.push(function() {\r\n        pbjs.requestBids({\r\n          timeout: M2_TIMEOUT,\r\n          adUnitCodes: ['/28725708/AdUnitCode_id'],\r\n          bidsBackHandler: function(bidResponses) {\r\n            pbjs.setTargetingForGPTAsync(bidResponses, ['/28725708/AdUnitCode_id']);\r\n            googletag.pubads().refresh([slot2]);\r\n          }\r\n        });\r\n      });\r\n```"},"comment":{"url":"https://api.github.com/repos/prebid/Prebid.js/issues/comments/203478655","html_url":"https://github.com/prebid/Prebid.js/pull/280#issuecomment-203478655","issue_url":"https://api.github.com/repos/prebid/Prebid.js/issues/280","id":203478655,"user":{"login":"ialex","id":94527,"avatar_url":"https://avatars.githubusercontent.com/u/94527?v=3","gravatar_id":"","url":"https://api.github.com/users/ialex","html_url":"https://github.com/ialex","followers_url":"https://api.github.com/users/ialex/followers","following_url":"https://api.github.com/users/ialex/following{/other_user}","gists_url":"https://api.github.com/users/ialex/gists{/gist_id}","starred_url":"https://api.github.com/users/ialex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialex/subscriptions","organizations_url":"https://api.github.com/users/ialex/orgs","repos_url":"https://api.github.com/users/ialex/repos","events_url":"https://api.github.com/users/ialex/events{/privacy}","received_events_url":"https://api.github.com/users/ialex/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T15:03:03Z","updated_at":"2016-03-30T15:03:03Z","body":"It is not production ready but you get the point."}}