FranckFreiburger / http-vue-loader

load .vue files from your html/js
MIT License
1.48k stars 273 forks source link

responseText not defined #114

Open furkanmustafa opened 4 years ago

furkanmustafa commented 4 years ago

here, when handling errors, a non-existing variable responseText is referenced.

https://github.com/FranckFreiburger/http-vue-loader/blob/9b440b3755e9c956a51a95dc897b297db14dd257/src/httpVueLoader.js#L168

this only happens when the imported vue component is broken.

Related issues; #108 #100

furkanmustafa commented 4 years ago

Probably introduced in this refactoring commit => https://github.com/FranckFreiburger/http-vue-loader/commit/f87d73e7df3e8a93fc21b440a10f85051e969c60