{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/comments/72667623","id":72667623,"diff_hunk":"@@ -194,6 +195,10 @@\n     }\n   },\n \n+  ready() {\n+    this.fire('app-localize-behavior-created', this);","path":"app-localize-behavior.html","position":15,"original_position":15,"commit_id":"20b1b2e1c80ea9ce13df5f7395bc205a22cd426b","original_commit_id":"20b1b2e1c80ea9ce13df5f7395bc205a22cd426b","user":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"body":"Is this event needed for anything? ","created_at":"2016-07-28T17:43:34Z","updated_at":"2016-07-28T17:43:34Z","html_url":"https://github.com/PolymerElements/app-localize-behavior/pull/40#discussion_r72667623","pull_request_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/comments/72667623"},"html":{"href":"https://github.com/PolymerElements/app-localize-behavior/pull/40#discussion_r72667623"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40","id":79041569,"html_url":"https://github.com/PolymerElements/app-localize-behavior/pull/40","diff_url":"https://github.com/PolymerElements/app-localize-behavior/pull/40.diff","patch_url":"https://github.com/PolymerElements/app-localize-behavior/pull/40.patch","issue_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/40","number":40,"state":"open","locked":false,"title":"Global language","user":{"login":"mvolkmann","id":79312,"avatar_url":"https://avatars.githubusercontent.com/u/79312?v=3","gravatar_id":"","url":"https://api.github.com/users/mvolkmann","html_url":"https://github.com/mvolkmann","followers_url":"https://api.github.com/users/mvolkmann/followers","following_url":"https://api.github.com/users/mvolkmann/following{/other_user}","gists_url":"https://api.github.com/users/mvolkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mvolkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvolkmann/subscriptions","organizations_url":"https://api.github.com/users/mvolkmann/orgs","repos_url":"https://api.github.com/users/mvolkmann/repos","events_url":"https://api.github.com/users/mvolkmann/events{/privacy}","received_events_url":"https://api.github.com/users/mvolkmann/received_events","type":"User","site_admin":false},"body":"My goal with this pull request is to find the minimal set of changes that could be made to app-localize-behavior.html that would support using an external component to keep the language used by all instances in sync. I believe I have achieved that. I just need two events to be emitted, one when each instance of app-localize-behavior is created and one for each change to the language.\r\n\r\nThere are five modified files in this pull request, but I only need for the changes to app-localize-behavior.html to be merged. The other four files modified are all related to the demo and just demonstrate how I would use the new events to keep instances in sync.","created_at":"2016-07-27T15:07:43Z","updated_at":"2016-07-28T17:43:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41058b06cf40fc2cec08807b7135359fc1924be2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/40/comments","statuses_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/statuses/20b1b2e1c80ea9ce13df5f7395bc205a22cd426b","head":{"label":"mvolkmann:global-language","ref":"global-language","sha":"20b1b2e1c80ea9ce13df5f7395bc205a22cd426b","user":{"login":"mvolkmann","id":79312,"avatar_url":"https://avatars.githubusercontent.com/u/79312?v=3","gravatar_id":"","url":"https://api.github.com/users/mvolkmann","html_url":"https://github.com/mvolkmann","followers_url":"https://api.github.com/users/mvolkmann/followers","following_url":"https://api.github.com/users/mvolkmann/following{/other_user}","gists_url":"https://api.github.com/users/mvolkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mvolkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvolkmann/subscriptions","organizations_url":"https://api.github.com/users/mvolkmann/orgs","repos_url":"https://api.github.com/users/mvolkmann/repos","events_url":"https://api.github.com/users/mvolkmann/events{/privacy}","received_events_url":"https://api.github.com/users/mvolkmann/received_events","type":"User","site_admin":false},"repo":{"id":62903575,"name":"app-localize-behavior","full_name":"mvolkmann/app-localize-behavior","owner":{"login":"mvolkmann","id":79312,"avatar_url":"https://avatars.githubusercontent.com/u/79312?v=3","gravatar_id":"","url":"https://api.github.com/users/mvolkmann","html_url":"https://github.com/mvolkmann","followers_url":"https://api.github.com/users/mvolkmann/followers","following_url":"https://api.github.com/users/mvolkmann/following{/other_user}","gists_url":"https://api.github.com/users/mvolkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mvolkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvolkmann/subscriptions","organizations_url":"https://api.github.com/users/mvolkmann/orgs","repos_url":"https://api.github.com/users/mvolkmann/repos","events_url":"https://api.github.com/users/mvolkmann/events{/privacy}","received_events_url":"https://api.github.com/users/mvolkmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mvolkmann/app-localize-behavior","description":"Polymer behaviour to help internationalize your application","fork":true,"url":"https://api.github.com/repos/mvolkmann/app-localize-behavior","forks_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/forks","keys_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/teams","hooks_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/hooks","issue_events_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/issues/events{/number}","events_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/events","assignees_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/assignees{/user}","branches_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/branches{/branch}","tags_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/tags","blobs_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/git/refs{/sha}","trees_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/statuses/{sha}","languages_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/languages","stargazers_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/stargazers","contributors_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/contributors","subscribers_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/subscribers","subscription_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/subscription","commits_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/commits{/sha}","git_commits_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/git/commits{/sha}","comments_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/comments{/number}","issue_comment_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/issues/comments{/number}","contents_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/contents/{+path}","compare_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/merges","archive_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/downloads","issues_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/issues{/number}","pulls_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/pulls{/number}","milestones_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/milestones{/number}","notifications_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/labels{/name}","releases_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/releases{/id}","deployments_url":"https://api.github.com/repos/mvolkmann/app-localize-behavior/deployments","created_at":"2016-07-08T16:50:05Z","updated_at":"2016-07-08T16:50:05Z","pushed_at":"2016-07-27T15:03:25Z","git_url":"git://github.com/mvolkmann/app-localize-behavior.git","ssh_url":"git@github.com:mvolkmann/app-localize-behavior.git","clone_url":"https://github.com/mvolkmann/app-localize-behavior.git","svn_url":"https://github.com/mvolkmann/app-localize-behavior","homepage":"","size":46,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"PolymerElements:master","ref":"master","sha":"4840cd2a80eb17daa2c19ce49fec4cbbf0c7fcb1","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":55096855,"name":"app-localize-behavior","full_name":"PolymerElements/app-localize-behavior","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/app-localize-behavior","description":"Polymer behaviour to help internationalize your application","fork":false,"url":"https://api.github.com/repos/PolymerElements/app-localize-behavior","forks_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/forks","keys_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/teams","hooks_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/events","assignees_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/tags","blobs_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/subscription","commits_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/merges","archive_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/downloads","issues_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/releases{/id}","deployments_url":"https://api.github.com/repos/PolymerElements/app-localize-behavior/deployments","created_at":"2016-03-30T20:51:09Z","updated_at":"2016-07-16T22:09:54Z","pushed_at":"2016-07-27T15:07:43Z","git_url":"git://github.com/PolymerElements/app-localize-behavior.git","ssh_url":"git@github.com:PolymerElements/app-localize-behavior.git","clone_url":"https://github.com/PolymerElements/app-localize-behavior.git","svn_url":"https://github.com/PolymerElements/app-localize-behavior","homepage":"","size":59,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":13,"forks":14,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40"},"html":{"href":"https://github.com/PolymerElements/app-localize-behavior/pull/40"},"issue":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/40"},"comments":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/app-localize-behavior/statuses/20b1b2e1c80ea9ce13df5f7395bc205a22cd426b"}}}}
{"actor":{"display_login":"notwaldorf"}}