mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-09-12 20:45:25 -05:00
Remove babel-polyfill dependency
This saves 85kb in the production build.
This commit is contained in:
@@ -78,9 +78,8 @@ export default {
|
||||
clearInterval(this.timer);
|
||||
},
|
||||
methods: {
|
||||
async updateData() {
|
||||
let schedules = await axios.get('/data/schedules.json');
|
||||
this.splatnet.schedules = schedules.data;
|
||||
updateData() {
|
||||
axios.get('/data/schedules.json').then(response => this.splatnet.schedules = response.data);
|
||||
},
|
||||
updateNow() {
|
||||
this.now = Math.trunc((new Date).getTime() / 1000);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'babel-polyfill';
|
||||
import Vue from 'vue';
|
||||
import App from './components/App.vue';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user