mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
31 lines
620 B
JavaScript
31 lines
620 B
JavaScript
var v = new Vue({
|
|
el: '#app',
|
|
data:{
|
|
debug: true,
|
|
static: null,
|
|
user_data: []
|
|
},
|
|
ready: function(){
|
|
this.fetchData();
|
|
},
|
|
methods: {
|
|
fetchData: function(){
|
|
this.$http.get('bundles.json', function(data, status, response){
|
|
if(status == 200){
|
|
this.static = data;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
});
|
|
|
|
$(function() {
|
|
|
|
$('.list-group-item').on('click', function() {
|
|
$('.glyphicon', this)
|
|
.toggleClass('glyphicon-chevron-right')
|
|
.toggleClass('glyphicon-chevron-down');
|
|
});
|
|
|
|
});
|