mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
client: replace deprecated vue-resource with axios, lint more file
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
/* eslint-disable */
|
||||
require('eventsource-polyfill')
|
||||
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true&overlay=false')
|
||||
/* global window:true */
|
||||
|
||||
hotClient.subscribe(function (event) {
|
||||
require('eventsource-polyfill');
|
||||
const hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true&overlay=false');
|
||||
|
||||
hotClient.subscribe(event => {
|
||||
if (event.action === 'reload') {
|
||||
window.location.reload()
|
||||
window.location.reload();
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user