summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pdf/page
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-10-03 19:07:41 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-10-03 19:12:53 -0500
commitb88f70606d2fd5b0a116f08f7925143ff40214fa (patch)
tree3c3a150f348665340cb15cfa05f75bc5347567bf /app/assets/javascripts/pdf/page
parentaec1586c05f30c1a81928b441cd63e422752e56c (diff)
downloadgitlab-ce-b88f70606d2fd5b0a116f08f7925143ff40214fa.tar.gz
Re-arrange <script> tags before <template> tags in .vue files3612-update-script-template-order-in-vue-files
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38743
Diffstat (limited to 'app/assets/javascripts/pdf/page')
-rw-r--r--app/assets/javascripts/pdf/page/index.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/assets/javascripts/pdf/page/index.vue b/app/assets/javascripts/pdf/page/index.vue
index 7b74ee4eb2e..be38f7cc129 100644
--- a/app/assets/javascripts/pdf/page/index.vue
+++ b/app/assets/javascripts/pdf/page/index.vue
@@ -1,10 +1,3 @@
-<template>
- <canvas
- class="pdf-page"
- ref="canvas"
- :data-page="number" />
-</template>
-
<script>
export default {
props: {
@@ -48,6 +41,13 @@
};
</script>
+<template>
+ <canvas
+ class="pdf-page"
+ ref="canvas"
+ :data-page="number" />
+</template>
+
<style>
.pdf-page {
margin: 8px auto 0 auto;