{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15","id":30787103,"html_url":"https://github.com/WebReflection/document-register-element/pull/15","diff_url":"https://github.com/WebReflection/document-register-element/pull/15.diff","patch_url":"https://github.com/WebReflection/document-register-element/pull/15.patch","issue_url":"https://api.github.com/repos/WebReflection/document-register-element/issues/15","number":15,"state":"closed","locked":false,"title":"Suppress asynchronous insertion events and externalize activation method ","user":{"login":"opinel","id":201192,"avatar_url":"https://avatars.githubusercontent.com/u/201192?v=3","gravatar_id":"","url":"https://api.github.com/users/opinel","html_url":"https://github.com/opinel","followers_url":"https://api.github.com/users/opinel/followers","following_url":"https://api.github.com/users/opinel/following{/other_user}","gists_url":"https://api.github.com/users/opinel/gists{/gist_id}","starred_url":"https://api.github.com/users/opinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opinel/subscriptions","organizations_url":"https://api.github.com/users/opinel/orgs","repos_url":"https://api.github.com/users/opinel/repos","events_url":"https://api.github.com/users/opinel/events{/privacy}","received_events_url":"https://api.github.com/users/opinel/received_events","type":"User","site_admin":false},"body":"The native implementation of the Custom-Elements spec is based on immediate instantiation of components. As the current polyfill is based on asynchronous Mutation Observers, it would be great to allow for activating the components synchronously to match the native experience. This would require the developer to make an extra call after adding a new custom element to the DOM, but would allow for a more consistent cross-browser life-cycle. Further, the DOM manipulation is still testable in a \"synchronous-way\".\r\nThese commits allow for providing options to the polyfill to e.g. disable the insertion events. Moreover, they are externalizing the executeAction method for the specific \"attached\" use-case.","created_at":"2015-03-09T18:32:13Z","updated_at":"2015-03-10T11:03:37Z","closed_at":"2015-03-10T11:03:37Z","merged_at":null,"merge_commit_sha":"4db303ed985d0975f1efe86991e09b8c199a3c3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15/commits","review_comments_url":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15/comments","review_comment_url":"https://api.github.com/repos/WebReflection/document-register-element/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WebReflection/document-register-element/issues/15/comments","statuses_url":"https://api.github.com/repos/WebReflection/document-register-element/statuses/c5ec3516b144761bfc1e6b5d9efaea2ebb8f473b","head":{"label":"opinel:polyfill-options","ref":"polyfill-options","sha":"c5ec3516b144761bfc1e6b5d9efaea2ebb8f473b","user":{"login":"opinel","id":201192,"avatar_url":"https://avatars.githubusercontent.com/u/201192?v=3","gravatar_id":"","url":"https://api.github.com/users/opinel","html_url":"https://github.com/opinel","followers_url":"https://api.github.com/users/opinel/followers","following_url":"https://api.github.com/users/opinel/following{/other_user}","gists_url":"https://api.github.com/users/opinel/gists{/gist_id}","starred_url":"https://api.github.com/users/opinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opinel/subscriptions","organizations_url":"https://api.github.com/users/opinel/orgs","repos_url":"https://api.github.com/users/opinel/repos","events_url":"https://api.github.com/users/opinel/events{/privacy}","received_events_url":"https://api.github.com/users/opinel/received_events","type":"User","site_admin":false},"repo":{"id":31721664,"name":"document-register-element","full_name":"opinel/document-register-element","owner":{"login":"opinel","id":201192,"avatar_url":"https://avatars.githubusercontent.com/u/201192?v=3","gravatar_id":"","url":"https://api.github.com/users/opinel","html_url":"https://github.com/opinel","followers_url":"https://api.github.com/users/opinel/followers","following_url":"https://api.github.com/users/opinel/following{/other_user}","gists_url":"https://api.github.com/users/opinel/gists{/gist_id}","starred_url":"https://api.github.com/users/opinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opinel/subscriptions","organizations_url":"https://api.github.com/users/opinel/orgs","repos_url":"https://api.github.com/users/opinel/repos","events_url":"https://api.github.com/users/opinel/events{/privacy}","received_events_url":"https://api.github.com/users/opinel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/opinel/document-register-element","description":"A stand-alone working lightweight version of the W3C Custom Elements specification","fork":true,"url":"https://api.github.com/repos/opinel/document-register-element","forks_url":"https://api.github.com/repos/opinel/document-register-element/forks","keys_url":"https://api.github.com/repos/opinel/document-register-element/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opinel/document-register-element/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opinel/document-register-element/teams","hooks_url":"https://api.github.com/repos/opinel/document-register-element/hooks","issue_events_url":"https://api.github.com/repos/opinel/document-register-element/issues/events{/number}","events_url":"https://api.github.com/repos/opinel/document-register-element/events","assignees_url":"https://api.github.com/repos/opinel/document-register-element/assignees{/user}","branches_url":"https://api.github.com/repos/opinel/document-register-element/branches{/branch}","tags_url":"https://api.github.com/repos/opinel/document-register-element/tags","blobs_url":"https://api.github.com/repos/opinel/document-register-element/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opinel/document-register-element/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opinel/document-register-element/git/refs{/sha}","trees_url":"https://api.github.com/repos/opinel/document-register-element/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opinel/document-register-element/statuses/{sha}","languages_url":"https://api.github.com/repos/opinel/document-register-element/languages","stargazers_url":"https://api.github.com/repos/opinel/document-register-element/stargazers","contributors_url":"https://api.github.com/repos/opinel/document-register-element/contributors","subscribers_url":"https://api.github.com/repos/opinel/document-register-element/subscribers","subscription_url":"https://api.github.com/repos/opinel/document-register-element/subscription","commits_url":"https://api.github.com/repos/opinel/document-register-element/commits{/sha}","git_commits_url":"https://api.github.com/repos/opinel/document-register-element/git/commits{/sha}","comments_url":"https://api.github.com/repos/opinel/document-register-element/comments{/number}","issue_comment_url":"https://api.github.com/repos/opinel/document-register-element/issues/comments{/number}","contents_url":"https://api.github.com/repos/opinel/document-register-element/contents/{+path}","compare_url":"https://api.github.com/repos/opinel/document-register-element/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opinel/document-register-element/merges","archive_url":"https://api.github.com/repos/opinel/document-register-element/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opinel/document-register-element/downloads","issues_url":"https://api.github.com/repos/opinel/document-register-element/issues{/number}","pulls_url":"https://api.github.com/repos/opinel/document-register-element/pulls{/number}","milestones_url":"https://api.github.com/repos/opinel/document-register-element/milestones{/number}","notifications_url":"https://api.github.com/repos/opinel/document-register-element/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opinel/document-register-element/labels{/name}","releases_url":"https://api.github.com/repos/opinel/document-register-element/releases{/id}","created_at":"2015-03-05T15:49:11Z","updated_at":"2015-03-06T16:57:49Z","pushed_at":"2015-03-09T18:22:23Z","git_url":"git://github.com/opinel/document-register-element.git","ssh_url":"git@github.com:opinel/document-register-element.git","clone_url":"https://github.com/opinel/document-register-element.git","svn_url":"https://github.com/opinel/document-register-element","homepage":null,"size":777,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WebReflection:master","ref":"master","sha":"9542e07732b904560adb0abfbf5666f5ddcf20a5","user":{"login":"WebReflection","id":85749,"avatar_url":"https://avatars.githubusercontent.com/u/85749?v=3","gravatar_id":"","url":"https://api.github.com/users/WebReflection","html_url":"https://github.com/WebReflection","followers_url":"https://api.github.com/users/WebReflection/followers","following_url":"https://api.github.com/users/WebReflection/following{/other_user}","gists_url":"https://api.github.com/users/WebReflection/gists{/gist_id}","starred_url":"https://api.github.com/users/WebReflection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebReflection/subscriptions","organizations_url":"https://api.github.com/users/WebReflection/orgs","repos_url":"https://api.github.com/users/WebReflection/repos","events_url":"https://api.github.com/users/WebReflection/events{/privacy}","received_events_url":"https://api.github.com/users/WebReflection/received_events","type":"User","site_admin":false},"repo":{"id":21805042,"name":"document-register-element","full_name":"WebReflection/document-register-element","owner":{"login":"WebReflection","id":85749,"avatar_url":"https://avatars.githubusercontent.com/u/85749?v=3","gravatar_id":"","url":"https://api.github.com/users/WebReflection","html_url":"https://github.com/WebReflection","followers_url":"https://api.github.com/users/WebReflection/followers","following_url":"https://api.github.com/users/WebReflection/following{/other_user}","gists_url":"https://api.github.com/users/WebReflection/gists{/gist_id}","starred_url":"https://api.github.com/users/WebReflection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebReflection/subscriptions","organizations_url":"https://api.github.com/users/WebReflection/orgs","repos_url":"https://api.github.com/users/WebReflection/repos","events_url":"https://api.github.com/users/WebReflection/events{/privacy}","received_events_url":"https://api.github.com/users/WebReflection/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WebReflection/document-register-element","description":"A stand-alone working lightweight version of the W3C Custom Elements specification","fork":false,"url":"https://api.github.com/repos/WebReflection/document-register-element","forks_url":"https://api.github.com/repos/WebReflection/document-register-element/forks","keys_url":"https://api.github.com/repos/WebReflection/document-register-element/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebReflection/document-register-element/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebReflection/document-register-element/teams","hooks_url":"https://api.github.com/repos/WebReflection/document-register-element/hooks","issue_events_url":"https://api.github.com/repos/WebReflection/document-register-element/issues/events{/number}","events_url":"https://api.github.com/repos/WebReflection/document-register-element/events","assignees_url":"https://api.github.com/repos/WebReflection/document-register-element/assignees{/user}","branches_url":"https://api.github.com/repos/WebReflection/document-register-element/branches{/branch}","tags_url":"https://api.github.com/repos/WebReflection/document-register-element/tags","blobs_url":"https://api.github.com/repos/WebReflection/document-register-element/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebReflection/document-register-element/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebReflection/document-register-element/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebReflection/document-register-element/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebReflection/document-register-element/statuses/{sha}","languages_url":"https://api.github.com/repos/WebReflection/document-register-element/languages","stargazers_url":"https://api.github.com/repos/WebReflection/document-register-element/stargazers","contributors_url":"https://api.github.com/repos/WebReflection/document-register-element/contributors","subscribers_url":"https://api.github.com/repos/WebReflection/document-register-element/subscribers","subscription_url":"https://api.github.com/repos/WebReflection/document-register-element/subscription","commits_url":"https://api.github.com/repos/WebReflection/document-register-element/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebReflection/document-register-element/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebReflection/document-register-element/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebReflection/document-register-element/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebReflection/document-register-element/contents/{+path}","compare_url":"https://api.github.com/repos/WebReflection/document-register-element/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebReflection/document-register-element/merges","archive_url":"https://api.github.com/repos/WebReflection/document-register-element/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebReflection/document-register-element/downloads","issues_url":"https://api.github.com/repos/WebReflection/document-register-element/issues{/number}","pulls_url":"https://api.github.com/repos/WebReflection/document-register-element/pulls{/number}","milestones_url":"https://api.github.com/repos/WebReflection/document-register-element/milestones{/number}","notifications_url":"https://api.github.com/repos/WebReflection/document-register-element/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebReflection/document-register-element/labels{/name}","releases_url":"https://api.github.com/repos/WebReflection/document-register-element/releases{/id}","created_at":"2014-07-14T02:28:43Z","updated_at":"2015-03-09T12:54:02Z","pushed_at":"2015-03-09T12:54:02Z","git_url":"git://github.com/WebReflection/document-register-element.git","ssh_url":"git@github.com:WebReflection/document-register-element.git","clone_url":"https://github.com/WebReflection/document-register-element.git","svn_url":"https://github.com/WebReflection/document-register-element","homepage":null,"size":1090,"stargazers_count":179,"watchers_count":179,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15"},"html":{"href":"https://github.com/WebReflection/document-register-element/pull/15"},"issue":{"href":"https://api.github.com/repos/WebReflection/document-register-element/issues/15"},"comments":{"href":"https://api.github.com/repos/WebReflection/document-register-element/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/WebReflection/document-register-element/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WebReflection/document-register-element/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/WebReflection/document-register-element/statuses/c5ec3516b144761bfc1e6b5d9efaea2ebb8f473b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":9,"review_comments":0,"commits":2,"additions":54,"deletions":14,"changed_files":6}}