You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea-fork-majority-judgment/web_src/js/features/userheatmap.js

11 lines
284 B

import Vue from 'vue';
import ActivityHeatmap from '../components/ActivityHeatmap.vue';
export default async function initUserHeatmap() {
const el = document.getElementById('user-heatmap');
if (!el) return;
const View = Vue.extend(ActivityHeatmap);
new View().$mount(el);
}