{"size": 1105, "ext": "js", "max_stars_repo_path": "js/gallery.js", "max_stars_repo_name": "fikriwado/toystore", "max_stars_repo_stars_event_min_datetime": "2021-08-12T00:47:43.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-12T00:47:43.000Z", "max_issues_repo_path": "js/gallery.js", "max_issues_repo_name": "fikriwado/toystore", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/gallery.js", "max_forks_repo_name": "fikriwado/toystore", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.625, "max_line_length": 65, "alphanum_fraction": 0.3963800905}
let gallery = new Vue({
    el: '#gallery',
    data: {
        activePhoto: 0,
        photos: [{
                id: 1,
                url: '/images/product/detail-show/1.jpg',
                thumb: '/images/product/detail-show/thumb-1.jpg'
            },
            {
                id: 2,
                url: '/images/product/detail-show/2.jpg',
                thumb: '/images/product/detail-show/thumb-2.jpg'
            },
            {
                id: 3,
                url: '/images/product/detail-show/3.jpg',
                thumb: '/images/product/detail-show/thumb-3.jpg'
            },
            {
                id: 4,
                url: '/images/product/detail-show/4.jpg',
                thumb: '/images/product/detail-show/thumb-4.jpg'
            }
        ]
    },
    mounted() {
        AOS.init({
        disable: function() {
            var maxWidth = 992;
            return window.innerWidth < maxWidth;
        }
    });
    },
    methods: {
        changeActive(id) {
            this.activePhoto = id
        }
    }
})