Updated vue.js version

This commit is contained in:
Sebastian Lay
2022-04-07 16:05:08 +02:00
parent a140b57cd2
commit da5490a923
10 changed files with 15775 additions and 12037 deletions

View File

@@ -1,9 +1,10 @@
const app = new Vue({
el: "#guide",
data: {
Vue.createApp({
data() {
return {
currentfilms: currentfilms,
guide: guide,
step: 1
}
},
computed: {
films: function() {
@@ -57,4 +58,4 @@ const app = new Vue({
this.step = step;
}
}
});
}).mount('#guide');

View File

@@ -1,12 +1,13 @@
const app = new Vue({
el: "#app",
data: {
Vue.createApp({
data() {
return {
currentfilms: currentfilms,
search: '',
type: 'all',
format: 'all',
sortBy: 'popularity',
sortDir: 'desc'
}
},
computed: {
searchedfilms: function() {
@@ -79,4 +80,4 @@ const app = new Vue({
}
}
}
});
}).mount('#app');

View File

@@ -1,10 +1,11 @@
const app = new Vue({
el: "#random",
data: {
Vue.createApp({
data() {
return {
currentfilms: currentfilms,
tick: 0,
selected: 0,
show: false
}
},
computed: {
films: function() {
@@ -13,7 +14,7 @@ const app = new Vue({
},
methods: {
formatPrice: function(price) {
return "€".repeat(price);
return '€'.repeat(price);
},
shuffle: function() {
if(this.tick++ < 25) {
@@ -25,4 +26,4 @@ const app = new Vue({
this.show = true;
}
}
});
}).mount('#random');

15754
js/vue.global.js Normal file

File diff suppressed because it is too large Load Diff

1
js/vue.global.prod.js Normal file

File diff suppressed because one or more lines are too long

12014
js/vue.js

File diff suppressed because it is too large Load Diff

6
js/vue.min.js vendored

File diff suppressed because one or more lines are too long