Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rich_viewer.vue « blob_viewers « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: afbfb1e0ee2330196d550c7a615375730a604141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script>
import ViewerMixin from './mixins';
import { handleBlobRichViewer } from '~/blob/viewer';

export default {
  mixins: [ViewerMixin],
  mounted() {
    handleBlobRichViewer(this.$refs.content, this.type);
  },
};
</script>
<template>
  <div ref="content" v-html="content"></div>
</template>