Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    3ddb26de
    Support IE just enough to show unsupported modal (#1213) · 3ddb26de
    chrisgarrity authored
    * Added object.assign polyfill
    
    * Fix IE load failure
    
    Don’t call `(window.AudioContext || window.webkitAudioContext)()` if platform is IE
    
    Catch any other errors, and display Browser unsupported in error-boundary.
    
    If for some reason there are no other errors (unlikely), preview-modal will still check for IE and show the unsupported modal.
    
    Polyfilling Object.assign is enough to get through load and show the modal for IE. We can always switch to `babel-polyfill` if there are others needed later, but for now this is smaller.
    3ddb26de
    History
    Support IE just enough to show unsupported modal (#1213)
    chrisgarrity authored
    * Added object.assign polyfill
    
    * Fix IE load failure
    
    Don’t call `(window.AudioContext || window.webkitAudioContext)()` if platform is IE
    
    Catch any other errors, and display Browser unsupported in error-boundary.
    
    If for some reason there are no other errors (unlikely), preview-modal will still check for IE and show the unsupported modal.
    
    Polyfilling Object.assign is enough to get through load and show the modal for IE. We can always switch to `babel-polyfill` if there are others needed later, but for now this is smaller.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.