{"action":"opened","number":1267,"pull_request":{"url":"https://api.github.com/repos/Polymer/polymer/pulls/1267","id":30697361,"html_url":"https://github.com/Polymer/polymer/pull/1267","diff_url":"https://github.com/Polymer/polymer/pull/1267.diff","patch_url":"https://github.com/Polymer/polymer/pull/1267.patch","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1267","number":1267,"state":"open","locked":false,"title":"Fixed polymer.import issue","user":{"login":"akutamruta","id":1432249,"avatar_url":"https://avatars.githubusercontent.com/u/1432249?v=3","gravatar_id":"","url":"https://api.github.com/users/akutamruta","html_url":"https://github.com/akutamruta","followers_url":"https://api.github.com/users/akutamruta/followers","following_url":"https://api.github.com/users/akutamruta/following{/other_user}","gists_url":"https://api.github.com/users/akutamruta/gists{/gist_id}","starred_url":"https://api.github.com/users/akutamruta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akutamruta/subscriptions","organizations_url":"https://api.github.com/users/akutamruta/orgs","repos_url":"https://api.github.com/users/akutamruta/repos","events_url":"https://api.github.com/users/akutamruta/events{/privacy}","received_events_url":"https://api.github.com/users/akutamruta/received_events","type":"User","site_admin":false},"body":"Fix for https://github.com/webcomponents/webcomponentsjs/issues/219 . Arguments passed to the callback (which gets called when HTML import is loaded) by webcomponents.js were not handled in polymer.js. Modified the code to accept the arguments and check errorImports to see if there is any import which encountered an error while loading. Following considerations are made in the fix:\r\n1. If Polymer.import(['path/to/webcomponent'], callback) encounters an error then callback is not called. \r\n2. Example: If there are 3 imports, import1, import2 and import3 and only import2 encounters an error. The callback of import3 will be called. HTML import loading won't stop if Polymer encounters an error during loading of an import.","created_at":"2015-03-07T04:44:18Z","updated_at":"2015-03-07T04:44:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Polymer/polymer/pulls/1267/commits","review_comments_url":"https://api.github.com/repos/Polymer/polymer/pulls/1267/comments","review_comment_url":"https://api.github.com/repos/Polymer/polymer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1267/comments","statuses_url":"https://api.github.com/repos/Polymer/polymer/statuses/912975034eaf5c03e93d0f673f65957a1568f202","head":{"label":"akutamruta:polymerimportfix","ref":"polymerimportfix","sha":"912975034eaf5c03e93d0f673f65957a1568f202","user":{"login":"akutamruta","id":1432249,"avatar_url":"https://avatars.githubusercontent.com/u/1432249?v=3","gravatar_id":"","url":"https://api.github.com/users/akutamruta","html_url":"https://github.com/akutamruta","followers_url":"https://api.github.com/users/akutamruta/followers","following_url":"https://api.github.com/users/akutamruta/following{/other_user}","gists_url":"https://api.github.com/users/akutamruta/gists{/gist_id}","starred_url":"https://api.github.com/users/akutamruta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akutamruta/subscriptions","organizations_url":"https://api.github.com/users/akutamruta/orgs","repos_url":"https://api.github.com/users/akutamruta/repos","events_url":"https://api.github.com/users/akutamruta/events{/privacy}","received_events_url":"https://api.github.com/users/akutamruta/received_events","type":"User","site_admin":false},"repo":{"id":31633429,"name":"polymer","full_name":"akutamruta/polymer","owner":{"login":"akutamruta","id":1432249,"avatar_url":"https://avatars.githubusercontent.com/u/1432249?v=3","gravatar_id":"","url":"https://api.github.com/users/akutamruta","html_url":"https://github.com/akutamruta","followers_url":"https://api.github.com/users/akutamruta/followers","following_url":"https://api.github.com/users/akutamruta/following{/other_user}","gists_url":"https://api.github.com/users/akutamruta/gists{/gist_id}","starred_url":"https://api.github.com/users/akutamruta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akutamruta/subscriptions","organizations_url":"https://api.github.com/users/akutamruta/orgs","repos_url":"https://api.github.com/users/akutamruta/repos","events_url":"https://api.github.com/users/akutamruta/events{/privacy}","received_events_url":"https://api.github.com/users/akutamruta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akutamruta/polymer","description":"Leverage the future of the web platform today.","fork":true,"url":"https://api.github.com/repos/akutamruta/polymer","forks_url":"https://api.github.com/repos/akutamruta/polymer/forks","keys_url":"https://api.github.com/repos/akutamruta/polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akutamruta/polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akutamruta/polymer/teams","hooks_url":"https://api.github.com/repos/akutamruta/polymer/hooks","issue_events_url":"https://api.github.com/repos/akutamruta/polymer/issues/events{/number}","events_url":"https://api.github.com/repos/akutamruta/polymer/events","assignees_url":"https://api.github.com/repos/akutamruta/polymer/assignees{/user}","branches_url":"https://api.github.com/repos/akutamruta/polymer/branches{/branch}","tags_url":"https://api.github.com/repos/akutamruta/polymer/tags","blobs_url":"https://api.github.com/repos/akutamruta/polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akutamruta/polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akutamruta/polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/akutamruta/polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akutamruta/polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/akutamruta/polymer/languages","stargazers_url":"https://api.github.com/repos/akutamruta/polymer/stargazers","contributors_url":"https://api.github.com/repos/akutamruta/polymer/contributors","subscribers_url":"https://api.github.com/repos/akutamruta/polymer/subscribers","subscription_url":"https://api.github.com/repos/akutamruta/polymer/subscription","commits_url":"https://api.github.com/repos/akutamruta/polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/akutamruta/polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/akutamruta/polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/akutamruta/polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/akutamruta/polymer/contents/{+path}","compare_url":"https://api.github.com/repos/akutamruta/polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akutamruta/polymer/merges","archive_url":"https://api.github.com/repos/akutamruta/polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akutamruta/polymer/downloads","issues_url":"https://api.github.com/repos/akutamruta/polymer/issues{/number}","pulls_url":"https://api.github.com/repos/akutamruta/polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/akutamruta/polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/akutamruta/polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akutamruta/polymer/labels{/name}","releases_url":"https://api.github.com/repos/akutamruta/polymer/releases{/id}","created_at":"2015-03-04T02:22:32Z","updated_at":"2015-03-04T02:22:33Z","pushed_at":"2015-03-07T04:15:09Z","git_url":"git://github.com/akutamruta/polymer.git","ssh_url":"git@github.com:akutamruta/polymer.git","clone_url":"https://github.com/akutamruta/polymer.git","svn_url":"https://github.com/akutamruta/polymer","homepage":"","size":13730,"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":"Polymer:master","ref":"master","sha":"e4f64ff770b8c0673c65102a882e6cb37c38b1e8","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":5532320,"name":"polymer","full_name":"Polymer/polymer","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/polymer","description":"Leverage the future of the web platform today.","fork":false,"url":"https://api.github.com/repos/Polymer/polymer","forks_url":"https://api.github.com/repos/Polymer/polymer/forks","keys_url":"https://api.github.com/repos/Polymer/polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/polymer/teams","hooks_url":"https://api.github.com/repos/Polymer/polymer/hooks","issue_events_url":"https://api.github.com/repos/Polymer/polymer/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/polymer/events","assignees_url":"https://api.github.com/repos/Polymer/polymer/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/polymer/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/polymer/tags","blobs_url":"https://api.github.com/repos/Polymer/polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/polymer/languages","stargazers_url":"https://api.github.com/repos/Polymer/polymer/stargazers","contributors_url":"https://api.github.com/repos/Polymer/polymer/contributors","subscribers_url":"https://api.github.com/repos/Polymer/polymer/subscribers","subscription_url":"https://api.github.com/repos/Polymer/polymer/subscription","commits_url":"https://api.github.com/repos/Polymer/polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/polymer/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/polymer/merges","archive_url":"https://api.github.com/repos/Polymer/polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/polymer/downloads","issues_url":"https://api.github.com/repos/Polymer/polymer/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/polymer/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/polymer/releases{/id}","created_at":"2012-08-23T20:56:30Z","updated_at":"2015-03-07T03:50:01Z","pushed_at":"2015-03-07T02:07:59Z","git_url":"git://github.com/Polymer/polymer.git","ssh_url":"git@github.com:Polymer/polymer.git","clone_url":"https://github.com/Polymer/polymer.git","svn_url":"https://github.com/Polymer/polymer","homepage":"","size":18359,"stargazers_count":8770,"watchers_count":8770,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":787,"mirror_url":null,"open_issues_count":365,"forks":787,"open_issues":365,"watchers":8770,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polymer/polymer/pulls/1267"},"html":{"href":"https://github.com/Polymer/polymer/pull/1267"},"issue":{"href":"https://api.github.com/repos/Polymer/polymer/issues/1267"},"comments":{"href":"https://api.github.com/repos/Polymer/polymer/issues/1267/comments"},"review_comments":{"href":"https://api.github.com/repos/Polymer/polymer/pulls/1267/comments"},"review_comment":{"href":"https://api.github.com/repos/Polymer/polymer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Polymer/polymer/pulls/1267/commits"},"statuses":{"href":"https://api.github.com/repos/Polymer/polymer/statuses/912975034eaf5c03e93d0f673f65957a1568f202"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":2,"changed_files":1}}