{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11","id":30632001,"html_url":"https://github.com/ticketbase/ticketbase-js/pull/11","diff_url":"https://github.com/ticketbase/ticketbase-js/pull/11.diff","patch_url":"https://github.com/ticketbase/ticketbase-js/pull/11.patch","issue_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/11","number":11,"state":"closed","locked":false,"title":"Fix exporting the library","user":{"login":"rstacruz","id":74385,"avatar_url":"https://avatars.githubusercontent.com/u/74385?v=3","gravatar_id":"","url":"https://api.github.com/users/rstacruz","html_url":"https://github.com/rstacruz","followers_url":"https://api.github.com/users/rstacruz/followers","following_url":"https://api.github.com/users/rstacruz/following{/other_user}","gists_url":"https://api.github.com/users/rstacruz/gists{/gist_id}","starred_url":"https://api.github.com/users/rstacruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstacruz/subscriptions","organizations_url":"https://api.github.com/users/rstacruz/orgs","repos_url":"https://api.github.com/users/rstacruz/repos","events_url":"https://api.github.com/users/rstacruz/events{/privacy}","received_events_url":"https://api.github.com/users/rstacruz/received_events","type":"User","site_admin":false},"body":"`ticketbase.js` is designed to be a standalone module that can be used in CommonJS ('require('ticketbase')`), AMD/require.js, and as a standalone browser module (`window.TB`).\r\n\r\nThe last 2 versions removed this functionality, unfortunately. This affected the ticketbase.com website widget builder.\r\n\r\nThis PR fixes that and adds tests.","created_at":"2015-03-06T09:48:08Z","updated_at":"2015-03-06T09:48:41Z","closed_at":"2015-03-06T09:48:41Z","merged_at":"2015-03-06T09:48:41Z","merge_commit_sha":"9abb82704c62b1cb5222ab3cac7049c305874fb9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/11/comments","statuses_url":"https://api.github.com/repos/ticketbase/ticketbase-js/statuses/cc6ec5766eb2910fb5975e90c9aad44bffb21946","head":{"label":"ticketbase:fix/exporting","ref":"fix/exporting","sha":"cc6ec5766eb2910fb5975e90c9aad44bffb21946","user":{"login":"ticketbase","id":6425968,"avatar_url":"https://avatars.githubusercontent.com/u/6425968?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketbase","html_url":"https://github.com/ticketbase","followers_url":"https://api.github.com/users/ticketbase/followers","following_url":"https://api.github.com/users/ticketbase/following{/other_user}","gists_url":"https://api.github.com/users/ticketbase/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketbase/subscriptions","organizations_url":"https://api.github.com/users/ticketbase/orgs","repos_url":"https://api.github.com/users/ticketbase/repos","events_url":"https://api.github.com/users/ticketbase/events{/privacy}","received_events_url":"https://api.github.com/users/ticketbase/received_events","type":"Organization","site_admin":false},"repo":{"id":29588961,"name":"ticketbase-js","full_name":"ticketbase/ticketbase-js","owner":{"login":"ticketbase","id":6425968,"avatar_url":"https://avatars.githubusercontent.com/u/6425968?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketbase","html_url":"https://github.com/ticketbase","followers_url":"https://api.github.com/users/ticketbase/followers","following_url":"https://api.github.com/users/ticketbase/following{/other_user}","gists_url":"https://api.github.com/users/ticketbase/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketbase/subscriptions","organizations_url":"https://api.github.com/users/ticketbase/orgs","repos_url":"https://api.github.com/users/ticketbase/repos","events_url":"https://api.github.com/users/ticketbase/events{/privacy}","received_events_url":"https://api.github.com/users/ticketbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ticketbase/ticketbase-js","description":"Ticketbase widgets","fork":false,"url":"https://api.github.com/repos/ticketbase/ticketbase-js","forks_url":"https://api.github.com/repos/ticketbase/ticketbase-js/forks","keys_url":"https://api.github.com/repos/ticketbase/ticketbase-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ticketbase/ticketbase-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ticketbase/ticketbase-js/teams","hooks_url":"https://api.github.com/repos/ticketbase/ticketbase-js/hooks","issue_events_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/events{/number}","events_url":"https://api.github.com/repos/ticketbase/ticketbase-js/events","assignees_url":"https://api.github.com/repos/ticketbase/ticketbase-js/assignees{/user}","branches_url":"https://api.github.com/repos/ticketbase/ticketbase-js/branches{/branch}","tags_url":"https://api.github.com/repos/ticketbase/ticketbase-js/tags","blobs_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ticketbase/ticketbase-js/statuses/{sha}","languages_url":"https://api.github.com/repos/ticketbase/ticketbase-js/languages","stargazers_url":"https://api.github.com/repos/ticketbase/ticketbase-js/stargazers","contributors_url":"https://api.github.com/repos/ticketbase/ticketbase-js/contributors","subscribers_url":"https://api.github.com/repos/ticketbase/ticketbase-js/subscribers","subscription_url":"https://api.github.com/repos/ticketbase/ticketbase-js/subscription","commits_url":"https://api.github.com/repos/ticketbase/ticketbase-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ticketbase/ticketbase-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ticketbase/ticketbase-js/contents/{+path}","compare_url":"https://api.github.com/repos/ticketbase/ticketbase-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ticketbase/ticketbase-js/merges","archive_url":"https://api.github.com/repos/ticketbase/ticketbase-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ticketbase/ticketbase-js/downloads","issues_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues{/number}","pulls_url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls{/number}","milestones_url":"https://api.github.com/repos/ticketbase/ticketbase-js/milestones{/number}","notifications_url":"https://api.github.com/repos/ticketbase/ticketbase-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ticketbase/ticketbase-js/labels{/name}","releases_url":"https://api.github.com/repos/ticketbase/ticketbase-js/releases{/id}","created_at":"2015-01-21T12:43:54Z","updated_at":"2015-03-04T12:53:47Z","pushed_at":"2015-03-06T09:48:41Z","git_url":"git://github.com/ticketbase/ticketbase-js.git","ssh_url":"git@github.com:ticketbase/ticketbase-js.git","clone_url":"https://github.com/ticketbase/ticketbase-js.git","svn_url":"https://github.com/ticketbase/ticketbase-js","homepage":"","size":880,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ticketbase:master","ref":"master","sha":"6e5f57415c20dccd3b44dcb4a61940cde2d1c25c","user":{"login":"ticketbase","id":6425968,"avatar_url":"https://avatars.githubusercontent.com/u/6425968?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketbase","html_url":"https://github.com/ticketbase","followers_url":"https://api.github.com/users/ticketbase/followers","following_url":"https://api.github.com/users/ticketbase/following{/other_user}","gists_url":"https://api.github.com/users/ticketbase/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketbase/subscriptions","organizations_url":"https://api.github.com/users/ticketbase/orgs","repos_url":"https://api.github.com/users/ticketbase/repos","events_url":"https://api.github.com/users/ticketbase/events{/privacy}","received_events_url":"https://api.github.com/users/ticketbase/received_events","type":"Organization","site_admin":false},"repo":{"id":29588961,"name":"ticketbase-js","full_name":"ticketbase/ticketbase-js","owner":{"login":"ticketbase","id":6425968,"avatar_url":"https://avatars.githubusercontent.com/u/6425968?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketbase","html_url":"https://github.com/ticketbase","followers_url":"https://api.github.com/users/ticketbase/followers","following_url":"https://api.github.com/users/ticketbase/following{/other_user}","gists_url":"https://api.github.com/users/ticketbase/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketbase/subscriptions","organizations_url":"https://api.github.com/users/ticketbase/orgs","repos_url":"https://api.github.com/users/ticketbase/repos","events_url":"https://api.github.com/users/ticketbase/events{/privacy}","received_events_url":"https://api.github.com/users/ticketbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ticketbase/ticketbase-js","description":"Ticketbase widgets","fork":false,"url":"https://api.github.com/repos/ticketbase/ticketbase-js","forks_url":"https://api.github.com/repos/ticketbase/ticketbase-js/forks","keys_url":"https://api.github.com/repos/ticketbase/ticketbase-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ticketbase/ticketbase-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ticketbase/ticketbase-js/teams","hooks_url":"https://api.github.com/repos/ticketbase/ticketbase-js/hooks","issue_events_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/events{/number}","events_url":"https://api.github.com/repos/ticketbase/ticketbase-js/events","assignees_url":"https://api.github.com/repos/ticketbase/ticketbase-js/assignees{/user}","branches_url":"https://api.github.com/repos/ticketbase/ticketbase-js/branches{/branch}","tags_url":"https://api.github.com/repos/ticketbase/ticketbase-js/tags","blobs_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ticketbase/ticketbase-js/statuses/{sha}","languages_url":"https://api.github.com/repos/ticketbase/ticketbase-js/languages","stargazers_url":"https://api.github.com/repos/ticketbase/ticketbase-js/stargazers","contributors_url":"https://api.github.com/repos/ticketbase/ticketbase-js/contributors","subscribers_url":"https://api.github.com/repos/ticketbase/ticketbase-js/subscribers","subscription_url":"https://api.github.com/repos/ticketbase/ticketbase-js/subscription","commits_url":"https://api.github.com/repos/ticketbase/ticketbase-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ticketbase/ticketbase-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ticketbase/ticketbase-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ticketbase/ticketbase-js/contents/{+path}","compare_url":"https://api.github.com/repos/ticketbase/ticketbase-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ticketbase/ticketbase-js/merges","archive_url":"https://api.github.com/repos/ticketbase/ticketbase-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ticketbase/ticketbase-js/downloads","issues_url":"https://api.github.com/repos/ticketbase/ticketbase-js/issues{/number}","pulls_url":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls{/number}","milestones_url":"https://api.github.com/repos/ticketbase/ticketbase-js/milestones{/number}","notifications_url":"https://api.github.com/repos/ticketbase/ticketbase-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ticketbase/ticketbase-js/labels{/name}","releases_url":"https://api.github.com/repos/ticketbase/ticketbase-js/releases{/id}","created_at":"2015-01-21T12:43:54Z","updated_at":"2015-03-04T12:53:47Z","pushed_at":"2015-03-06T09:48:41Z","git_url":"git://github.com/ticketbase/ticketbase-js.git","ssh_url":"git@github.com:ticketbase/ticketbase-js.git","clone_url":"https://github.com/ticketbase/ticketbase-js.git","svn_url":"https://github.com/ticketbase/ticketbase-js","homepage":"","size":880,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11"},"html":{"href":"https://github.com/ticketbase/ticketbase-js/pull/11"},"issue":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/11"},"comments":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ticketbase/ticketbase-js/statuses/cc6ec5766eb2910fb5975e90c9aad44bffb21946"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rstacruz","id":74385,"avatar_url":"https://avatars.githubusercontent.com/u/74385?v=3","gravatar_id":"","url":"https://api.github.com/users/rstacruz","html_url":"https://github.com/rstacruz","followers_url":"https://api.github.com/users/rstacruz/followers","following_url":"https://api.github.com/users/rstacruz/following{/other_user}","gists_url":"https://api.github.com/users/rstacruz/gists{/gist_id}","starred_url":"https://api.github.com/users/rstacruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstacruz/subscriptions","organizations_url":"https://api.github.com/users/rstacruz/orgs","repos_url":"https://api.github.com/users/rstacruz/repos","events_url":"https://api.github.com/users/rstacruz/events{/privacy}","received_events_url":"https://api.github.com/users/rstacruz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":55,"deletions":5,"changed_files":5}}