{"action":"closed","issue":{"url":"https://api.github.com/repos/BladeRunnerJS/brjs/issues/1268","labels_url":"https://api.github.com/repos/BladeRunnerJS/brjs/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/BladeRunnerJS/brjs/issues/1268/comments","events_url":"https://api.github.com/repos/BladeRunnerJS/brjs/issues/1268/events","html_url":"https://github.com/BladeRunnerJS/brjs/issues/1268","id":60122211,"number":1268,"title":"Aliasing not working if you require a class that refers to the interface","user":{"login":"thanhc","id":5188693,"avatar_url":"https://avatars.githubusercontent.com/u/5188693?v=3","gravatar_id":"","url":"https://api.github.com/users/thanhc","html_url":"https://github.com/thanhc","followers_url":"https://api.github.com/users/thanhc/followers","following_url":"https://api.github.com/users/thanhc/following{/other_user}","gists_url":"https://api.github.com/users/thanhc/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhc/subscriptions","organizations_url":"https://api.github.com/users/thanhc/orgs","repos_url":"https://api.github.com/users/thanhc/repos","events_url":"https://api.github.com/users/thanhc/events{/privacy}","received_events_url":"https://api.github.com/users/thanhc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BladeRunnerJS/brjs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"andyberry88","id":726896,"avatar_url":"https://avatars.githubusercontent.com/u/726896?v=3","gravatar_id":"","url":"https://api.github.com/users/andyberry88","html_url":"https://github.com/andyberry88","followers_url":"https://api.github.com/users/andyberry88/followers","following_url":"https://api.github.com/users/andyberry88/following{/other_user}","gists_url":"https://api.github.com/users/andyberry88/gists{/gist_id}","starred_url":"https://api.github.com/users/andyberry88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyberry88/subscriptions","organizations_url":"https://api.github.com/users/andyberry88/orgs","repos_url":"https://api.github.com/users/andyberry88/repos","events_url":"https://api.github.com/users/andyberry88/events{/privacy}","received_events_url":"https://api.github.com/users/andyberry88/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BladeRunnerJS/brjs/milestones/21","html_url":"https://github.com/BladeRunnerJS/brjs/milestones/1.0%20RC1","labels_url":"https://api.github.com/repos/BladeRunnerJS/brjs/milestones/21/labels","id":795932,"number":21,"title":"1.0 RC1","description":"","creator":{"login":"andyberry88","id":726896,"avatar_url":"https://avatars.githubusercontent.com/u/726896?v=3","gravatar_id":"","url":"https://api.github.com/users/andyberry88","html_url":"https://github.com/andyberry88","followers_url":"https://api.github.com/users/andyberry88/followers","following_url":"https://api.github.com/users/andyberry88/following{/other_user}","gists_url":"https://api.github.com/users/andyberry88/gists{/gist_id}","starred_url":"https://api.github.com/users/andyberry88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyberry88/subscriptions","organizations_url":"https://api.github.com/users/andyberry88/orgs","repos_url":"https://api.github.com/users/andyberry88/repos","events_url":"https://api.github.com/users/andyberry88/events{/privacy}","received_events_url":"https://api.github.com/users/andyberry88/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":26,"state":"open","created_at":"2014-09-19T15:25:37Z","updated_at":"2015-04-08T20:16:29Z","due_on":"2015-04-09T23:00:00Z","closed_at":null},"comments":4,"created_at":"2015-03-06T16:13:47Z","updated_at":"2015-04-08T20:16:29Z","closed_at":"2015-04-08T20:16:29Z","body":"A good example of this is if you create the following alias:\r\n`<alias name=\"br.locale-switcher\" class=\"br.services.locale.BRLocaleLoadingSwitcher\"/>`\r\n\r\nAnd if you try and use this alias then it will continue to use the original class BRLocaleForwardingSwitcher.\r\nIn the BRLocaleLoadingSwitcher we require the following:\r\nvar LocaleSwitcher = require('br/services/LocaleSwitcher');\r\n if you remove this line then the alias will work, otherwise it will use the old one.\r\n\r\n<!---\r\n@huboard:{\"order\":1268.0,\"milestone_order\":1268,\"custom_state\":\"\"}\n-->\r\n"}}