{"action":"created","comment":{"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/comments/80976926","pull_request_review_id":1991882,"id":80976926,"diff_hunk":"@@ -53,7 +52,9 @@ define(function(require) {\n         Adapt.drawer.addItem(drawerObject, 'glossary:showGlossary');\n \n         setupGlossary(courseGlossary, courseGlossary._glossaryItems);\n+    }\n \n-    });\n+    Adapt.once('app:dataReady', initGlossary);\n+    Adapt.on('languagePicker:languageChange', initGlossary);","path":"js/adapt-contrib-glossary.js","position":18,"original_position":18,"commit_id":"4947203393c08de23009e479a2f64eef91372b60","original_commit_id":"4947203393c08de23009e479a2f64eef91372b60","user":{"login":"moloko","id":1249597,"avatar_url":"https://avatars.githubusercontent.com/u/1249597?v=3","gravatar_id":"","url":"https://api.github.com/users/moloko","html_url":"https://github.com/moloko","followers_url":"https://api.github.com/users/moloko/followers","following_url":"https://api.github.com/users/moloko/following{/other_user}","gists_url":"https://api.github.com/users/moloko/gists{/gist_id}","starred_url":"https://api.github.com/users/moloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloko/subscriptions","organizations_url":"https://api.github.com/users/moloko/orgs","repos_url":"https://api.github.com/users/moloko/repos","events_url":"https://api.github.com/users/moloko/events{/privacy}","received_events_url":"https://api.github.com/users/moloko/received_events","type":"User","site_admin":false},"body":"If you do this, I think you'll run into the same problem we had with Resources in that it can get added to the Drawer twice under certain conditions - you might want to change this to something more like [this](https://github.com/adaptlearning/adapt-contrib-resources/pull/43/commits/7a09f528b2107e723e79db33904d94be2554f0eb)","created_at":"2016-09-28T17:48:01Z","updated_at":"2016-09-28T17:48:01Z","html_url":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21#discussion_r80976926","pull_request_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/comments/80976926"},"html":{"href":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21#discussion_r80976926"},"pull_request":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21","id":87127971,"html_url":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21","diff_url":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21.diff","patch_url":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21.patch","issue_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/21","number":21,"state":"open","locked":false,"title":"handle glossary for language changes during course","user":{"login":"AmbadasAvhad","id":16382236,"avatar_url":"https://avatars.githubusercontent.com/u/16382236?v=3","gravatar_id":"","url":"https://api.github.com/users/AmbadasAvhad","html_url":"https://github.com/AmbadasAvhad","followers_url":"https://api.github.com/users/AmbadasAvhad/followers","following_url":"https://api.github.com/users/AmbadasAvhad/following{/other_user}","gists_url":"https://api.github.com/users/AmbadasAvhad/gists{/gist_id}","starred_url":"https://api.github.com/users/AmbadasAvhad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmbadasAvhad/subscriptions","organizations_url":"https://api.github.com/users/AmbadasAvhad/orgs","repos_url":"https://api.github.com/users/AmbadasAvhad/repos","events_url":"https://api.github.com/users/AmbadasAvhad/events{/privacy}","received_events_url":"https://api.github.com/users/AmbadasAvhad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-28T14:12:07Z","updated_at":"2016-09-28T17:48:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fe7bc846aefaa15c6e896c48db8b0932795f505","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21/commits","review_comments_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21/comments","review_comment_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/21/comments","statuses_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/statuses/4947203393c08de23009e479a2f64eef91372b60","head":{"label":"VYASSYS:feature/ml","ref":"feature/ml","sha":"4947203393c08de23009e479a2f64eef91372b60","user":{"login":"VYASSYS","id":15953007,"avatar_url":"https://avatars.githubusercontent.com/u/15953007?v=3","gravatar_id":"","url":"https://api.github.com/users/VYASSYS","html_url":"https://github.com/VYASSYS","followers_url":"https://api.github.com/users/VYASSYS/followers","following_url":"https://api.github.com/users/VYASSYS/following{/other_user}","gists_url":"https://api.github.com/users/VYASSYS/gists{/gist_id}","starred_url":"https://api.github.com/users/VYASSYS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VYASSYS/subscriptions","organizations_url":"https://api.github.com/users/VYASSYS/orgs","repos_url":"https://api.github.com/users/VYASSYS/repos","events_url":"https://api.github.com/users/VYASSYS/events{/privacy}","received_events_url":"https://api.github.com/users/VYASSYS/received_events","type":"Organization","site_admin":false},"repo":{"id":69469422,"name":"adapt-contrib-glossary","full_name":"VYASSYS/adapt-contrib-glossary","owner":{"login":"VYASSYS","id":15953007,"avatar_url":"https://avatars.githubusercontent.com/u/15953007?v=3","gravatar_id":"","url":"https://api.github.com/users/VYASSYS","html_url":"https://github.com/VYASSYS","followers_url":"https://api.github.com/users/VYASSYS/followers","following_url":"https://api.github.com/users/VYASSYS/following{/other_user}","gists_url":"https://api.github.com/users/VYASSYS/gists{/gist_id}","starred_url":"https://api.github.com/users/VYASSYS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VYASSYS/subscriptions","organizations_url":"https://api.github.com/users/VYASSYS/orgs","repos_url":"https://api.github.com/users/VYASSYS/repos","events_url":"https://api.github.com/users/VYASSYS/events{/privacy}","received_events_url":"https://api.github.com/users/VYASSYS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VYASSYS/adapt-contrib-glossary","description":"An Adapt extension that allows a list of glossary terms","fork":true,"url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary","forks_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/forks","keys_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/teams","hooks_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/hooks","issue_events_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/issues/events{/number}","events_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/events","assignees_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/assignees{/user}","branches_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/branches{/branch}","tags_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/tags","blobs_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/git/refs{/sha}","trees_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/statuses/{sha}","languages_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/languages","stargazers_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/stargazers","contributors_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/contributors","subscribers_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/subscribers","subscription_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/subscription","commits_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/commits{/sha}","git_commits_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/git/commits{/sha}","comments_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/comments{/number}","issue_comment_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/issues/comments{/number}","contents_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/contents/{+path}","compare_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/merges","archive_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/downloads","issues_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/issues{/number}","pulls_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/pulls{/number}","milestones_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/milestones{/number}","notifications_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/labels{/name}","releases_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/releases{/id}","deployments_url":"https://api.github.com/repos/VYASSYS/adapt-contrib-glossary/deployments","created_at":"2016-09-28T14:04:30Z","updated_at":"2016-09-28T14:04:31Z","pushed_at":"2016-09-28T14:11:33Z","git_url":"git://github.com/VYASSYS/adapt-contrib-glossary.git","ssh_url":"git@github.com:VYASSYS/adapt-contrib-glossary.git","clone_url":"https://github.com/VYASSYS/adapt-contrib-glossary.git","svn_url":"https://github.com/VYASSYS/adapt-contrib-glossary","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"adaptlearning:feature/ml","ref":"feature/ml","sha":"319a995fed13c5059f09c536311a7eecdf8ea5b3","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":21943906,"name":"adapt-contrib-glossary","full_name":"adaptlearning/adapt-contrib-glossary","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt-contrib-glossary","description":"An Adapt extension that allows a list of glossary terms","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary","forks_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/releases{/id}","deployments_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/deployments","created_at":"2014-07-17T13:58:20Z","updated_at":"2016-05-25T16:16:04Z","pushed_at":"2016-09-28T14:12:07Z","git_url":"git://github.com/adaptlearning/adapt-contrib-glossary.git","ssh_url":"git@github.com:adaptlearning/adapt-contrib-glossary.git","clone_url":"https://github.com/adaptlearning/adapt-contrib-glossary.git","svn_url":"https://github.com/adaptlearning/adapt-contrib-glossary","homepage":null,"size":88,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21"},"html":{"href":"https://github.com/adaptlearning/adapt-contrib-glossary/pull/21"},"issue":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/21"},"comments":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/adaptlearning/adapt-contrib-glossary/statuses/4947203393c08de23009e479a2f64eef91372b60"}}}}
{"actor":{"display_login":"moloko"}}