{"action":"opened","number":250,"pull_request":{"url":"https://api.github.com/repos/prebid/Prebid.js/pulls/250","id":62826892,"html_url":"https://github.com/prebid/Prebid.js/pull/250","diff_url":"https://github.com/prebid/Prebid.js/pull/250.diff","patch_url":"https://github.com/prebid/Prebid.js/pull/250.patch","issue_url":"https://api.github.com/repos/prebid/Prebid.js/issues/250","number":250,"state":"open","locked":false,"title":"Custom namespacing","user":{"login":"ojotoxy","id":5408700,"avatar_url":"https://avatars.githubusercontent.com/u/5408700?v=3","gravatar_id":"","url":"https://api.github.com/users/ojotoxy","html_url":"https://github.com/ojotoxy","followers_url":"https://api.github.com/users/ojotoxy/followers","following_url":"https://api.github.com/users/ojotoxy/following{/other_user}","gists_url":"https://api.github.com/users/ojotoxy/gists{/gist_id}","starred_url":"https://api.github.com/users/ojotoxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojotoxy/subscriptions","organizations_url":"https://api.github.com/users/ojotoxy/orgs","repos_url":"https://api.github.com/users/ojotoxy/repos","events_url":"https://api.github.com/users/ojotoxy/events{/privacy}","received_events_url":"https://api.github.com/users/ojotoxy/received_events","type":"User","site_admin":false},"body":"This is how I implemented: https://github.com/prebid/Prebid.js/issues/115\r\n\r\nI am totally open to other ways of implementing this feature. I just want this feature to exist.\r\n\r\nThis is the \"obvious\" way of doing namespacing - allow a configurable field in constants.json where the global variable name can be chosen.\r\n\r\nThen everywhere pbjs was used needs to lookup what the global var is called.","created_at":"2016-03-14T22:20:13Z","updated_at":"2016-03-14T22:20:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/250/commits","review_comments_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/250/comments","review_comment_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/issues/250/comments","statuses_url":"https://api.github.com/repos/prebid/Prebid.js/statuses/d4ca532b62b70e2c10ac4e375a39fc3a6e04e521","head":{"label":"ojotoxy:custom_namespace_patch","ref":"custom_namespace_patch","sha":"d4ca532b62b70e2c10ac4e375a39fc3a6e04e521","user":{"login":"ojotoxy","id":5408700,"avatar_url":"https://avatars.githubusercontent.com/u/5408700?v=3","gravatar_id":"","url":"https://api.github.com/users/ojotoxy","html_url":"https://github.com/ojotoxy","followers_url":"https://api.github.com/users/ojotoxy/followers","following_url":"https://api.github.com/users/ojotoxy/following{/other_user}","gists_url":"https://api.github.com/users/ojotoxy/gists{/gist_id}","starred_url":"https://api.github.com/users/ojotoxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojotoxy/subscriptions","organizations_url":"https://api.github.com/users/ojotoxy/orgs","repos_url":"https://api.github.com/users/ojotoxy/repos","events_url":"https://api.github.com/users/ojotoxy/events{/privacy}","received_events_url":"https://api.github.com/users/ojotoxy/received_events","type":"User","site_admin":false},"repo":{"id":49606964,"name":"Prebid.js","full_name":"ojotoxy/Prebid.js","owner":{"login":"ojotoxy","id":5408700,"avatar_url":"https://avatars.githubusercontent.com/u/5408700?v=3","gravatar_id":"","url":"https://api.github.com/users/ojotoxy","html_url":"https://github.com/ojotoxy","followers_url":"https://api.github.com/users/ojotoxy/followers","following_url":"https://api.github.com/users/ojotoxy/following{/other_user}","gists_url":"https://api.github.com/users/ojotoxy/gists{/gist_id}","starred_url":"https://api.github.com/users/ojotoxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojotoxy/subscriptions","organizations_url":"https://api.github.com/users/ojotoxy/orgs","repos_url":"https://api.github.com/users/ojotoxy/repos","events_url":"https://api.github.com/users/ojotoxy/events{/privacy}","received_events_url":"https://api.github.com/users/ojotoxy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ojotoxy/Prebid.js","description":"Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.","fork":true,"url":"https://api.github.com/repos/ojotoxy/Prebid.js","forks_url":"https://api.github.com/repos/ojotoxy/Prebid.js/forks","keys_url":"https://api.github.com/repos/ojotoxy/Prebid.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojotoxy/Prebid.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojotoxy/Prebid.js/teams","hooks_url":"https://api.github.com/repos/ojotoxy/Prebid.js/hooks","issue_events_url":"https://api.github.com/repos/ojotoxy/Prebid.js/issues/events{/number}","events_url":"https://api.github.com/repos/ojotoxy/Prebid.js/events","assignees_url":"https://api.github.com/repos/ojotoxy/Prebid.js/assignees{/user}","branches_url":"https://api.github.com/repos/ojotoxy/Prebid.js/branches{/branch}","tags_url":"https://api.github.com/repos/ojotoxy/Prebid.js/tags","blobs_url":"https://api.github.com/repos/ojotoxy/Prebid.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojotoxy/Prebid.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojotoxy/Prebid.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojotoxy/Prebid.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojotoxy/Prebid.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ojotoxy/Prebid.js/languages","stargazers_url":"https://api.github.com/repos/ojotoxy/Prebid.js/stargazers","contributors_url":"https://api.github.com/repos/ojotoxy/Prebid.js/contributors","subscribers_url":"https://api.github.com/repos/ojotoxy/Prebid.js/subscribers","subscription_url":"https://api.github.com/repos/ojotoxy/Prebid.js/subscription","commits_url":"https://api.github.com/repos/ojotoxy/Prebid.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojotoxy/Prebid.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojotoxy/Prebid.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojotoxy/Prebid.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojotoxy/Prebid.js/contents/{+path}","compare_url":"https://api.github.com/repos/ojotoxy/Prebid.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojotoxy/Prebid.js/merges","archive_url":"https://api.github.com/repos/ojotoxy/Prebid.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojotoxy/Prebid.js/downloads","issues_url":"https://api.github.com/repos/ojotoxy/Prebid.js/issues{/number}","pulls_url":"https://api.github.com/repos/ojotoxy/Prebid.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ojotoxy/Prebid.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ojotoxy/Prebid.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojotoxy/Prebid.js/labels{/name}","releases_url":"https://api.github.com/repos/ojotoxy/Prebid.js/releases{/id}","deployments_url":"https://api.github.com/repos/ojotoxy/Prebid.js/deployments","created_at":"2016-01-13T22:42:10Z","updated_at":"2016-01-13T22:42:13Z","pushed_at":"2016-03-14T22:16:11Z","git_url":"git://github.com/ojotoxy/Prebid.js.git","ssh_url":"git@github.com:ojotoxy/Prebid.js.git","clone_url":"https://github.com/ojotoxy/Prebid.js.git","svn_url":"https://github.com/ojotoxy/Prebid.js","homepage":"http://prebid.org","size":910,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prebid:master","ref":"master","sha":"c8b52c66467068201002485a4b10b5d59d74d2cf","user":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"User","site_admin":false},"repo":{"id":39321023,"name":"Prebid.js","full_name":"prebid/Prebid.js","owner":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prebid/Prebid.js","description":"Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.","fork":false,"url":"https://api.github.com/repos/prebid/Prebid.js","forks_url":"https://api.github.com/repos/prebid/Prebid.js/forks","keys_url":"https://api.github.com/repos/prebid/Prebid.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prebid/Prebid.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prebid/Prebid.js/teams","hooks_url":"https://api.github.com/repos/prebid/Prebid.js/hooks","issue_events_url":"https://api.github.com/repos/prebid/Prebid.js/issues/events{/number}","events_url":"https://api.github.com/repos/prebid/Prebid.js/events","assignees_url":"https://api.github.com/repos/prebid/Prebid.js/assignees{/user}","branches_url":"https://api.github.com/repos/prebid/Prebid.js/branches{/branch}","tags_url":"https://api.github.com/repos/prebid/Prebid.js/tags","blobs_url":"https://api.github.com/repos/prebid/Prebid.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prebid/Prebid.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prebid/Prebid.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/prebid/Prebid.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prebid/Prebid.js/statuses/{sha}","languages_url":"https://api.github.com/repos/prebid/Prebid.js/languages","stargazers_url":"https://api.github.com/repos/prebid/Prebid.js/stargazers","contributors_url":"https://api.github.com/repos/prebid/Prebid.js/contributors","subscribers_url":"https://api.github.com/repos/prebid/Prebid.js/subscribers","subscription_url":"https://api.github.com/repos/prebid/Prebid.js/subscription","commits_url":"https://api.github.com/repos/prebid/Prebid.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/prebid/Prebid.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/prebid/Prebid.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/prebid/Prebid.js/contents/{+path}","compare_url":"https://api.github.com/repos/prebid/Prebid.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prebid/Prebid.js/merges","archive_url":"https://api.github.com/repos/prebid/Prebid.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prebid/Prebid.js/downloads","issues_url":"https://api.github.com/repos/prebid/Prebid.js/issues{/number}","pulls_url":"https://api.github.com/repos/prebid/Prebid.js/pulls{/number}","milestones_url":"https://api.github.com/repos/prebid/Prebid.js/milestones{/number}","notifications_url":"https://api.github.com/repos/prebid/Prebid.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prebid/Prebid.js/labels{/name}","releases_url":"https://api.github.com/repos/prebid/Prebid.js/releases{/id}","deployments_url":"https://api.github.com/repos/prebid/Prebid.js/deployments","created_at":"2015-07-19T03:26:23Z","updated_at":"2016-03-14T18:44:18Z","pushed_at":"2016-03-14T20:46:50Z","git_url":"git://github.com/prebid/Prebid.js.git","ssh_url":"git@github.com:prebid/Prebid.js.git","clone_url":"https://github.com/prebid/Prebid.js.git","svn_url":"https://github.com/prebid/Prebid.js","homepage":"http://prebid.org","size":1112,"stargazers_count":153,"watchers_count":153,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":29,"forks":101,"open_issues":29,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/250"},"html":{"href":"https://github.com/prebid/Prebid.js/pull/250"},"issue":{"href":"https://api.github.com/repos/prebid/Prebid.js/issues/250"},"comments":{"href":"https://api.github.com/repos/prebid/Prebid.js/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/prebid/Prebid.js/statuses/d4ca532b62b70e2c10ac4e375a39fc3a6e04e521"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":18,"additions":63,"deletions":22,"changed_files":16}}