diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Footer.vue | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 076700e..0f3dbfb 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,6 +1,6 @@ <template> <footer class="footer"> - © 2004–{{ year }} The Mana World + © 2004–{{ (new Date()).getFullYear() }} The Mana World </footer> </template> @@ -11,12 +11,3 @@ padding: 5px; } </style> - -<script lang="ts"> -import { Options, Vue } from "vue-class-component"; - -@Options({}) -export default class Copyright extends Vue { - year = Reflect.construct(Date, []).getFullYear(); -} -</script> |