{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-windows/pulls/comments/60375540","id":60375540,"diff_hunk":"@@ -29,7 +29,7 @@ var ActionStack = require('cordova-common').ActionStack;\n var CordovaError = require('cordova-common').CordovaError;\n var CordovaLogger = require('cordova-common').CordovaLogger;\n var PlatformJson = require('cordova-common').PlatformJson;\n-var PlatformMunger = require('cordova-common').ConfigChanges.PlatformMunger;\n+var PlatformMunger = require('./lib/ConfigChanges').PlatformMunger;","path":"template/cordova/Api.js","position":5,"original_position":5,"commit_id":"3300b14cb59d16d0dd60aadae2608401c6f635a0","original_commit_id":"3300b14cb59d16d0dd60aadae2608401c6f635a0","user":{"login":"vladimir-kotikov","id":3857604,"avatar_url":"https://avatars.githubusercontent.com/u/3857604?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimir-kotikov","html_url":"https://github.com/vladimir-kotikov","followers_url":"https://api.github.com/users/vladimir-kotikov/followers","following_url":"https://api.github.com/users/vladimir-kotikov/following{/other_user}","gists_url":"https://api.github.com/users/vladimir-kotikov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimir-kotikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimir-kotikov/subscriptions","organizations_url":"https://api.github.com/users/vladimir-kotikov/orgs","repos_url":"https://api.github.com/users/vladimir-kotikov/repos","events_url":"https://api.github.com/users/vladimir-kotikov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimir-kotikov/received_events","type":"User","site_admin":false},"body":"Could you please clarify? I'm not sure how removing the `require` statement might affect required logic.","created_at":"2016-04-20T09:21:00Z","updated_at":"2016-04-20T09:21:00Z","html_url":"https://github.com/apache/cordova-windows/pull/168#discussion_r60375540","pull_request_url":"https://api.github.com/repos/apache/cordova-windows/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/comments/60375540"},"html":{"href":"https://github.com/apache/cordova-windows/pull/168#discussion_r60375540"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-windows/pulls/168","id":66866744,"html_url":"https://github.com/apache/cordova-windows/pull/168","diff_url":"https://github.com/apache/cordova-windows/pull/168.diff","patch_url":"https://github.com/apache/cordova-windows/pull/168.patch","issue_url":"https://api.github.com/repos/apache/cordova-windows/issues/168","number":168,"state":"open","locked":false,"title":"CB-11066 Remove uap prefixed capabilities when plugin has added regular ones","user":{"login":"vladimir-kotikov","id":3857604,"avatar_url":"https://avatars.githubusercontent.com/u/3857604?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimir-kotikov","html_url":"https://github.com/vladimir-kotikov","followers_url":"https://api.github.com/users/vladimir-kotikov/followers","following_url":"https://api.github.com/users/vladimir-kotikov/following{/other_user}","gists_url":"https://api.github.com/users/vladimir-kotikov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimir-kotikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimir-kotikov/subscriptions","organizations_url":"https://api.github.com/users/vladimir-kotikov/orgs","repos_url":"https://api.github.com/users/vladimir-kotikov/repos","events_url":"https://api.github.com/users/vladimir-kotikov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimir-kotikov/received_events","type":"User","site_admin":false},"body":"This fixes a problem when some of capabilities, added by plugin are being modified at 'prepare' stage due to special Windows logic and then aren't removed when uninstalling plugin. For details see [CB-11066](https://issues.apache.org/jira/browse/CB-11066)","created_at":"2016-04-18T14:52:08Z","updated_at":"2016-04-20T09:21:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e20c781ac899daa441ad39b6d5124573e98e0e80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-windows/pulls/168/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-windows/pulls/168/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-windows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-windows/issues/168/comments","statuses_url":"https://api.github.com/repos/apache/cordova-windows/statuses/3300b14cb59d16d0dd60aadae2608401c6f635a0","head":{"label":"MSOpenTech:CB-11066","ref":"CB-11066","sha":"3300b14cb59d16d0dd60aadae2608401c6f635a0","user":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"repo":{"id":18086900,"name":"cordova-windows","full_name":"MSOpenTech/cordova-windows","owner":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSOpenTech/cordova-windows","description":"Mirror of Apache Cordova Windows","fork":true,"url":"https://api.github.com/repos/MSOpenTech/cordova-windows","forks_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/forks","keys_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/teams","hooks_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/hooks","issue_events_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/issues/events{/number}","events_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/events","assignees_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/assignees{/user}","branches_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/branches{/branch}","tags_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/tags","blobs_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/languages","stargazers_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/stargazers","contributors_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/contributors","subscribers_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/subscribers","subscription_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/subscription","commits_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/contents/{+path}","compare_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/merges","archive_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/downloads","issues_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/issues{/number}","pulls_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/labels{/name}","releases_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/releases{/id}","deployments_url":"https://api.github.com/repos/MSOpenTech/cordova-windows/deployments","created_at":"2014-03-25T02:52:48Z","updated_at":"2015-10-24T15:42:22Z","pushed_at":"2016-04-18T14:43:06Z","git_url":"git://github.com/MSOpenTech/cordova-windows.git","ssh_url":"git@github.com:MSOpenTech/cordova-windows.git","clone_url":"https://github.com/MSOpenTech/cordova-windows.git","svn_url":"https://github.com/MSOpenTech/cordova-windows","homepage":null,"size":37442,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"a7b8b348da2de9de62a41951f95c0e6e39740422","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":6898394,"name":"cordova-windows","full_name":"apache/cordova-windows","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-windows","description":"Mirror of Apache Cordova Windows","fork":false,"url":"https://api.github.com/repos/apache/cordova-windows","forks_url":"https://api.github.com/repos/apache/cordova-windows/forks","keys_url":"https://api.github.com/repos/apache/cordova-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-windows/teams","hooks_url":"https://api.github.com/repos/apache/cordova-windows/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-windows/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-windows/events","assignees_url":"https://api.github.com/repos/apache/cordova-windows/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-windows/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-windows/tags","blobs_url":"https://api.github.com/repos/apache/cordova-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-windows/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-windows/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-windows/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-windows/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-windows/subscription","commits_url":"https://api.github.com/repos/apache/cordova-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-windows/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-windows/merges","archive_url":"https://api.github.com/repos/apache/cordova-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-windows/downloads","issues_url":"https://api.github.com/repos/apache/cordova-windows/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-windows/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-windows/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-windows/deployments","created_at":"2012-11-28T08:00:28Z","updated_at":"2016-03-31T05:53:13Z","pushed_at":"2016-04-18T14:52:08Z","git_url":"git://github.com/apache/cordova-windows.git","ssh_url":"git@github.com:apache/cordova-windows.git","clone_url":"https://github.com/apache/cordova-windows.git","svn_url":"https://github.com/apache/cordova-windows","homepage":null,"size":37323,"stargazers_count":123,"watchers_count":123,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":"git://git.apache.org/cordova-windows.git","open_issues_count":3,"forks":138,"open_issues":3,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/168"},"html":{"href":"https://github.com/apache/cordova-windows/pull/168"},"issue":{"href":"https://api.github.com/repos/apache/cordova-windows/issues/168"},"comments":{"href":"https://api.github.com/repos/apache/cordova-windows/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-windows/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-windows/statuses/3300b14cb59d16d0dd60aadae2608401c6f635a0"}}}}