summaryrefslogtreecommitdiffstats
path: root/web_src/js/components/RepoActivityTopAuthors.vue
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/components/RepoActivityTopAuthors.vue')
-rw-r--r--web_src/js/components/RepoActivityTopAuthors.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/web_src/js/components/RepoActivityTopAuthors.vue b/web_src/js/components/RepoActivityTopAuthors.vue
index d510695b1d..37b6df9187 100644
--- a/web_src/js/components/RepoActivityTopAuthors.vue
+++ b/web_src/js/components/RepoActivityTopAuthors.vue
@@ -101,10 +101,9 @@ const sfc = {
}
};
-function initRepoActivityTopAuthorsChart() {
+export function initRepoActivityTopAuthorsChart() {
initVueApp('#repo-activity-top-authors-chart', sfc);
}
-export default sfc;
-export {initRepoActivityTopAuthorsChart};
+export default sfc; // this line is necessary to activate the IDE's Vue plugin
</script>