{"action":"created","comment":{"url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments/43803054","id":43803054,"diff_hunk":"@@ -0,0 +1,113 @@\n+/*\n+Copyright 2015 OCAD University\n+\n+Licensed under the Educational Community License (ECL), Version 2.0 or the New\n+BSD license. You may not use this file except in compliance with one these\n+Licenses.\n+\n+You may obtain a copy of the ECL 2.0 License and BSD License at\n+https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.txt\n+*/\n+\n+var demo = demo || {};\n+\n+(function ($, fluid) {\n+\n+    \"use strict\";\n+\n+    fluid.registerNamespace(\"demo.chartAuthoring\");\n+\n+    fluid.defaults(\"demo.chartAuthoring.overview\", {\n+            gradeNames: [\"fluid.viewComponent\", \"autoInit\"],\n+            components: {\n+                overviewPanel: {\n+                    type: \"fluid.overviewPanel\",\n+                    container: \"{overview}.container\",\n+                    options: {\n+                        model: {\n+                            showPanel: \"{storeModel}.model.showPanel\"\n+                        },\n+                        modelListeners: {\n+                            \"{that}.model\": {\n+                                funcName: \"{storeModel}.set\",\n+                                args: \"{change}.value\",\n+                                excludeSource: \"init\"                                \n+                            }\n+                        }\n+                    }\n+                },\n+                storeModel: {\n+                    type: \"fluid.modelComponent\",\n+                    options: {\n+                        gradeNames: [\"fluid.prefs.cookieStore\"],\n+                        listeners: {\n+                            \"onCreate.setModelFromCookie\": {","path":"demos/src/js/overview.js","position":null,"original_position":44,"commit_id":"41e351c04c71b0c97261a29e6f10f695b7731dec","original_commit_id":"85ccd19358e23449b47e531e654f3817464aaf75","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"body":"Replacing the listeners with expanders works. Thanks @cindyli!","created_at":"2015-11-03T20:34:52Z","updated_at":"2015-11-03T20:34:52Z","html_url":"https://github.com/fluid-project/chartAuthoring/pull/9#discussion_r43803054","pull_request_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments/43803054"},"html":{"href":"https://github.com/fluid-project/chartAuthoring/pull/9#discussion_r43803054"},"pull_request":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9","id":48768222,"html_url":"https://github.com/fluid-project/chartAuthoring/pull/9","diff_url":"https://github.com/fluid-project/chartAuthoring/pull/9.diff","patch_url":"https://github.com/fluid-project/chartAuthoring/pull/9.patch","issue_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9","number":9,"state":"open","locked":false,"title":"FLOE 403: add overlay panel for demo","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"body":"This PR adds an overlay panel to the chart authoring demo. It also updates the included custom version of Infusion to include the overlay panel code and components.","created_at":"2015-10-26T17:09:22Z","updated_at":"2015-11-03T20:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"390b24fc9b047a91177074e2c6325c25384d7eed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/commits","review_comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/comments","review_comment_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9/comments","statuses_url":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/41e351c04c71b0c97261a29e6f10f695b7731dec","head":{"label":"waharnum:FLOE-403","ref":"FLOE-403","sha":"41e351c04c71b0c97261a29e6f10f695b7731dec","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"repo":{"id":40918997,"name":"chartAuthoring","full_name":"waharnum/chartAuthoring","owner":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waharnum/chartAuthoring","description":"A tool for authoring accessible charts for the web.","fork":true,"url":"https://api.github.com/repos/waharnum/chartAuthoring","forks_url":"https://api.github.com/repos/waharnum/chartAuthoring/forks","keys_url":"https://api.github.com/repos/waharnum/chartAuthoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waharnum/chartAuthoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waharnum/chartAuthoring/teams","hooks_url":"https://api.github.com/repos/waharnum/chartAuthoring/hooks","issue_events_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues/events{/number}","events_url":"https://api.github.com/repos/waharnum/chartAuthoring/events","assignees_url":"https://api.github.com/repos/waharnum/chartAuthoring/assignees{/user}","branches_url":"https://api.github.com/repos/waharnum/chartAuthoring/branches{/branch}","tags_url":"https://api.github.com/repos/waharnum/chartAuthoring/tags","blobs_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waharnum/chartAuthoring/statuses/{sha}","languages_url":"https://api.github.com/repos/waharnum/chartAuthoring/languages","stargazers_url":"https://api.github.com/repos/waharnum/chartAuthoring/stargazers","contributors_url":"https://api.github.com/repos/waharnum/chartAuthoring/contributors","subscribers_url":"https://api.github.com/repos/waharnum/chartAuthoring/subscribers","subscription_url":"https://api.github.com/repos/waharnum/chartAuthoring/subscription","commits_url":"https://api.github.com/repos/waharnum/chartAuthoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/waharnum/chartAuthoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/waharnum/chartAuthoring/contents/{+path}","compare_url":"https://api.github.com/repos/waharnum/chartAuthoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waharnum/chartAuthoring/merges","archive_url":"https://api.github.com/repos/waharnum/chartAuthoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waharnum/chartAuthoring/downloads","issues_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues{/number}","pulls_url":"https://api.github.com/repos/waharnum/chartAuthoring/pulls{/number}","milestones_url":"https://api.github.com/repos/waharnum/chartAuthoring/milestones{/number}","notifications_url":"https://api.github.com/repos/waharnum/chartAuthoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waharnum/chartAuthoring/labels{/name}","releases_url":"https://api.github.com/repos/waharnum/chartAuthoring/releases{/id}","created_at":"2015-08-17T18:35:53Z","updated_at":"2015-08-17T18:35:54Z","pushed_at":"2015-11-03T20:32:30Z","git_url":"git://github.com/waharnum/chartAuthoring.git","ssh_url":"git@github.com:waharnum/chartAuthoring.git","clone_url":"https://github.com/waharnum/chartAuthoring.git","svn_url":"https://github.com/waharnum/chartAuthoring","homepage":null,"size":2165,"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":"fluid-project:master","ref":"master","sha":"38330d87884f761a25009e4be01019b8bf57c889","user":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"repo":{"id":37926920,"name":"chartAuthoring","full_name":"fluid-project/chartAuthoring","owner":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluid-project/chartAuthoring","description":"A tool for authoring accessible charts for the web.","fork":false,"url":"https://api.github.com/repos/fluid-project/chartAuthoring","forks_url":"https://api.github.com/repos/fluid-project/chartAuthoring/forks","keys_url":"https://api.github.com/repos/fluid-project/chartAuthoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluid-project/chartAuthoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluid-project/chartAuthoring/teams","hooks_url":"https://api.github.com/repos/fluid-project/chartAuthoring/hooks","issue_events_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/events{/number}","events_url":"https://api.github.com/repos/fluid-project/chartAuthoring/events","assignees_url":"https://api.github.com/repos/fluid-project/chartAuthoring/assignees{/user}","branches_url":"https://api.github.com/repos/fluid-project/chartAuthoring/branches{/branch}","tags_url":"https://api.github.com/repos/fluid-project/chartAuthoring/tags","blobs_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/{sha}","languages_url":"https://api.github.com/repos/fluid-project/chartAuthoring/languages","stargazers_url":"https://api.github.com/repos/fluid-project/chartAuthoring/stargazers","contributors_url":"https://api.github.com/repos/fluid-project/chartAuthoring/contributors","subscribers_url":"https://api.github.com/repos/fluid-project/chartAuthoring/subscribers","subscription_url":"https://api.github.com/repos/fluid-project/chartAuthoring/subscription","commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluid-project/chartAuthoring/contents/{+path}","compare_url":"https://api.github.com/repos/fluid-project/chartAuthoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluid-project/chartAuthoring/merges","archive_url":"https://api.github.com/repos/fluid-project/chartAuthoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluid-project/chartAuthoring/downloads","issues_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues{/number}","pulls_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls{/number}","milestones_url":"https://api.github.com/repos/fluid-project/chartAuthoring/milestones{/number}","notifications_url":"https://api.github.com/repos/fluid-project/chartAuthoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluid-project/chartAuthoring/labels{/name}","releases_url":"https://api.github.com/repos/fluid-project/chartAuthoring/releases{/id}","created_at":"2015-06-23T15:16:51Z","updated_at":"2015-06-24T17:07:26Z","pushed_at":"2015-11-03T20:32:31Z","git_url":"git://github.com/fluid-project/chartAuthoring.git","ssh_url":"git@github.com:fluid-project/chartAuthoring.git","clone_url":"https://github.com/fluid-project/chartAuthoring.git","svn_url":"https://github.com/fluid-project/chartAuthoring","homepage":null,"size":2255,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9"},"html":{"href":"https://github.com/fluid-project/chartAuthoring/pull/9"},"issue":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9"},"comments":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/41e351c04c71b0c97261a29e6f10f695b7731dec"}}}}