canjs / steal-stache

A plugin that allows you to import stache templates with stealjs.
https://canjs.com/doc/steal-stache.html
MIT License
4 stars 2 forks source link

IE11 Object.assign error #81

Closed mikemitchel closed 5 years ago

mikemitchel commented 5 years ago

Steal-stache 4.1.x does not seem to support IE11 as I need to manually polyfill Object.assign. The error that throws is at this return statement:

https://github.com/canjs/steal-stache/blob/15fecaceefc80b1a605baee4798ba314e0e8dfba/steal-stache.js#L11

My app is currently using 4.1.2 as a dependency from these packages:

Screen Shot 2019-06-29 at 9 48 28 AM
justinbmeyer commented 5 years ago

The easy fix to this is to add can-assign to the imports and then use that.

chasenlehara commented 5 years ago

@mikemitchel Should this have been closed by https://github.com/canjs/steal-stache/pull/82?

matthewp commented 5 years ago

Yeah, it should.