{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/9729","labels_url":"https://api.github.com/repos/angular/angular.js/issues/9729/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/9729/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/9729/events","html_url":"https://github.com/angular/angular.js/pull/9729","id":46401393,"number":9729,"title":"Add warning message when a module is reset/replaced","user":{"login":"amrynsky","id":4339035,"avatar_url":"https://avatars.githubusercontent.com/u/4339035?v=3","gravatar_id":"","url":"https://api.github.com/users/amrynsky","html_url":"https://github.com/amrynsky","followers_url":"https://api.github.com/users/amrynsky/followers","following_url":"https://api.github.com/users/amrynsky/following{/other_user}","gists_url":"https://api.github.com/users/amrynsky/gists{/gist_id}","starred_url":"https://api.github.com/users/amrynsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amrynsky/subscriptions","organizations_url":"https://api.github.com/users/amrynsky/orgs","repos_url":"https://api.github.com/users/amrynsky/repos","events_url":"https://api.github.com/users/amrynsky/events{/privacy}","received_events_url":"https://api.github.com/users/amrynsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/cla%3A+maybe","name":"cla: maybe","color":"d4c5f9"},{"url":"https://api.github.com/repos/angular/angular.js/labels/cla%3A+no","name":"cla: no","color":"f7c6c7"},{"url":"https://api.github.com/repos/angular/angular.js/labels/needs%3A+work","name":"needs: work","color":"fbca04"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type%3A+feature","name":"type: feature","color":"00a606"}],"state":"closed","locked":false,"assignee":{"login":"caitp","id":2294695,"avatar_url":"https://avatars.githubusercontent.com/u/2294695?v=3","gravatar_id":"","url":"https://api.github.com/users/caitp","html_url":"https://github.com/caitp","followers_url":"https://api.github.com/users/caitp/followers","following_url":"https://api.github.com/users/caitp/following{/other_user}","gists_url":"https://api.github.com/users/caitp/gists{/gist_id}","starred_url":"https://api.github.com/users/caitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caitp/subscriptions","organizations_url":"https://api.github.com/users/caitp/orgs","repos_url":"https://api.github.com/users/caitp/repos","events_url":"https://api.github.com/users/caitp/events{/privacy}","received_events_url":"https://api.github.com/users/caitp/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/32","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/32/labels","id":510155,"number":32,"title":"1.3.x","description":"","creator":{"login":"tbosch","id":690815,"avatar_url":"https://avatars.githubusercontent.com/u/690815?v=3","gravatar_id":"","url":"https://api.github.com/users/tbosch","html_url":"https://github.com/tbosch","followers_url":"https://api.github.com/users/tbosch/followers","following_url":"https://api.github.com/users/tbosch/following{/other_user}","gists_url":"https://api.github.com/users/tbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/tbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbosch/subscriptions","organizations_url":"https://api.github.com/users/tbosch/orgs","repos_url":"https://api.github.com/users/tbosch/repos","events_url":"https://api.github.com/users/tbosch/events{/privacy}","received_events_url":"https://api.github.com/users/tbosch/received_events","type":"User","site_admin":false},"open_issues":114,"closed_issues":288,"state":"open","created_at":"2013-12-10T19:41:50Z","updated_at":"2015-01-16T14:50:19Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2014-10-21T14:41:57Z","updated_at":"2015-01-16T14:50:19Z","closed_at":"2015-01-16T14:50:19Z","pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/9729","html_url":"https://github.com/angular/angular.js/pull/9729","diff_url":"https://github.com/angular/angular.js/pull/9729.diff","patch_url":"https://github.com/angular/angular.js/pull/9729.patch"},"body":"- Add log to loader.js in case module with the same name is loaded again. The logProvider is not available at this point and after discussion on ng-europe we decided to use console.log.\r\n- The result of the fix was tons of messages \r\nLOG: 'The module 'ng' already exists and has been redefined.'\r\nbecause publishExternalAPI was called twice for EVERY test. Therefore  publishExternalAPI(angular); could be removed from testabilityPatch.js.\r\n\r\nFix for #6034 "},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/70263574","html_url":"https://github.com/angular/angular.js/pull/9729#issuecomment-70263574","issue_url":"https://api.github.com/repos/angular/angular.js/issues/9729","id":70263574,"user":{"login":"amrynsky","id":4339035,"avatar_url":"https://avatars.githubusercontent.com/u/4339035?v=3","gravatar_id":"","url":"https://api.github.com/users/amrynsky","html_url":"https://github.com/amrynsky","followers_url":"https://api.github.com/users/amrynsky/followers","following_url":"https://api.github.com/users/amrynsky/following{/other_user}","gists_url":"https://api.github.com/users/amrynsky/gists{/gist_id}","starred_url":"https://api.github.com/users/amrynsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amrynsky/subscriptions","organizations_url":"https://api.github.com/users/amrynsky/orgs","repos_url":"https://api.github.com/users/amrynsky/repos","events_url":"https://api.github.com/users/amrynsky/events{/privacy}","received_events_url":"https://api.github.com/users/amrynsky/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T14:50:19Z","updated_at":"2015-01-16T14:50:19Z","body":"duplicate of the #1779 that will be part of the 1.4 release."}}