mvertopoulos / vue-msal

Vue plugin for using Microsoft Authentication Library (MSAL)
MIT License
123 stars 66 forks source link

Usage of method definition shorthand in mixin.js is breaking IE11 #5

Closed ZaradarBH closed 4 years ago

ZaradarBH commented 4 years ago

https://forum.vuejs.org/t/solved-ie11-script1003-expected-error/29843

ZaradarBH commented 4 years ago

export const mixin = { data: function() { return { msal: this.$msal.data } }, created: function() { this.$watch('$msal.data', (value) => { this.msal = value; }, { deep: true }); } };

ZaradarBH commented 4 years ago

The above fix should do the trick. Cant fork your repo to make a branch to do a PR from :)

mvertopoulos commented 4 years ago

Thanks for reporting this