-
Notifications
You must be signed in to change notification settings - Fork 446
SignalR in embedded web browser control #953
Comments
Yes, IE does not support ES6 so you need to compile to ES5 (or use the ES5 version included in the dist/browser folder). |
I am also using Angular 4, so I tried setting the .angular-cli.json to: but somehow it gets mapped to loading Base64EncodedHubProtocol.js from the src directory which is not ES5. I have no idea how "ng build" does this but the downloaded file (vendor.js) using the embedded web browser control or Internet Explorer 11 is different than if I download it using Edge or Chrome. Any suggestions? |
Take a look at: |
I included the client sources in my project so they would compile down to ES5 and it seems to work. Haven't tried to do "ng build --prod" yet. Not a great solution for those trying to support old browsers... |
As per #867 (comment) it might be fixed soon in the Angular-cli |
I have an embedded web-browser control and an embedded Kestrel server in a Windows application. The embedded control uses an older version of IE. IE throws a syntax error when it hits "class Base64EncodedHubProtocol" when it loads Base64EncodedHubProtocol.js What do I need to do to fix this?
change Base64EncodedHubProtocol.js to Base64EncodedHubProtocol.ts and re-compile targeting ES5?
The text was updated successfully, but these errors were encountered: