{"action":"created","issue":{"url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/41","labels_url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/41/comments","events_url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/41/events","html_url":"https://github.com/johnpapa/angular2-tour-of-heroes/issues/41","id":123198710,"number":41,"title":"TOH Tutorial - getHeroesSlowly not working in IE11","user":{"login":"MichaelChambers","id":649078,"avatar_url":"https://avatars.githubusercontent.com/u/649078?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelChambers","html_url":"https://github.com/MichaelChambers","followers_url":"https://api.github.com/users/MichaelChambers/followers","following_url":"https://api.github.com/users/MichaelChambers/following{/other_user}","gists_url":"https://api.github.com/users/MichaelChambers/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelChambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelChambers/subscriptions","organizations_url":"https://api.github.com/users/MichaelChambers/orgs","repos_url":"https://api.github.com/users/MichaelChambers/repos","events_url":"https://api.github.com/users/MichaelChambers/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelChambers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T02:21:04Z","updated_at":"2015-12-21T21:41:11Z","closed_at":null,"body":"I'm very happy following the tutorial and learning Angular2. Thanks!!\r\n\r\nI got to the bottom of the latest chapter and created my getHeroesSlowly method, but the heroes list wouldn't show up in IE11. I tried refreshing and pasting the URL into a new IE11 to no avail. I tried the URL in Chrome, and it worked fine. Note that for IE11, I have the <script src=\"node_modules/es6-shim/es6-shim.js\"></script>\r\nand my package.json has\r\n    \"es6-promise\": \"^3.0.2\",\r\n    \"es6-shim\": \"^0.33.3\",\r\n\r\nAlso, I got the getHeroesSlowly to work in IE11 once with a 100 milli delay instead. But I'm not sure if I did something magical as I haven't been able to recreate that.\r\n\r\nNote that in MS Code, the Typescript wasn't happy with getHeroesSlowly. I didn't know what to do, but searched online and found that I had to change it to return new Promise<Hero[]>... and then import {Hero}...\r\n\tgetHeroesSlowly(){\r\n\t\treturn new Promise<Hero[]>(resolve =>\r\n\t\t\tsetTimeout(()=>resolve(HEROES), 2000) //2 seconds\r\n\t\t);\r\n\t}\r\nI'm guessing the above is probably because I switched to noImplicitAny=true\r\n"},"comment":{"url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/comments/166432084","html_url":"https://github.com/johnpapa/angular2-tour-of-heroes/issues/41#issuecomment-166432084","issue_url":"https://api.github.com/repos/johnpapa/angular2-tour-of-heroes/issues/41","id":166432084,"user":{"login":"MichaelChambers","id":649078,"avatar_url":"https://avatars.githubusercontent.com/u/649078?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelChambers","html_url":"https://github.com/MichaelChambers","followers_url":"https://api.github.com/users/MichaelChambers/followers","following_url":"https://api.github.com/users/MichaelChambers/following{/other_user}","gists_url":"https://api.github.com/users/MichaelChambers/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelChambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelChambers/subscriptions","organizations_url":"https://api.github.com/users/MichaelChambers/orgs","repos_url":"https://api.github.com/users/MichaelChambers/repos","events_url":"https://api.github.com/users/MichaelChambers/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelChambers/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T21:41:11Z","updated_at":"2015-12-21T21:41:11Z","body":"Thanks. In your plunk, I first added the shim line IE11 worked fine (as it also does in my local). Then I changed the app to call getHeroesSlowly instead, and it is behaving the same as my local - the heroes are NOT showing up. Hopefully this URL has my plunker changes? http://plnkr.co/edit/MqhJfsBfY94tpxnWfmGo?p=preview\r\n"}}