Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Update boot-client.ts to handle IE 11 shim issues #952

Closed
wants to merge 1 commit into from
Closed

Update boot-client.ts to handle IE 11 shim issues #952

wants to merge 1 commit into from

Commits on May 18, 2017

  1. Update boot-client.ts

    When you get error like this:
    Unable to get property 'apply' of undefined or null reference
    
    in functions like this:
    function combine(options) {
        return ((Object)).assign.apply(((Object)), [{}].concat(options));
    }	
    
    in vendor.js
    
    This article tells you to use Core.js:
    http://stackoverflow.com/questions/41276692/angular2-ie11-unable-to-get-property-apply-of-undefined-or-null-reference
    
    You add:
    import "core-js/client/shim";
    
    to the top of boot-client.ts
    
    and the problem goes away. 
    
    This issue may be related:
    #926
    
    A repro project is here:
    https://www.dropbox.com/s/qq0fwi1kn42nkfv/HelloWorldData-ng4.zip?dl=0
    ADefWebserver committed May 18, 2017
    Copy the full SHA
    7c66b19 View commit details
    Browse the repository at this point in the history