[O] Inline loading script

This commit is contained in:
Hykilpikonna
2019-10-13 20:45:03 -04:00
parent 283904d976
commit 878b8cf87c
3 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import pWaitFor from 'p-wait-for';
import {HttpUtils} from '@/utils/http-utils'; import {HttpUtils} from '@/utils/http-utils';
import {CourseUtils} from '@/utils/course-utils'; import {CourseUtils} from '@/utils/course-utils';
import {GPAUtils} from '@/utils/gpa-utils'; import {GPAUtils} from '@/utils/gpa-utils';
import Loading from '@/components/loading/loading'; import Loading from '@/components/loading/loading.vue';
/** /**
* Objects of this interface represent assignment grades. * Objects of this interface represent assignment grades.
-10
View File
@@ -1,10 +0,0 @@
import {Component, Prop, Vue} from 'vue-property-decorator';
@Component({
components: {}
})
export default class Loading extends Vue
{
// @ts-ignore
@Prop() text: string;
}
+12 -1
View File
@@ -14,7 +14,18 @@
</div> </div>
</template> </template>
<script src="./loading.ts" lang="ts"></script> <script lang="ts">
import {Component, Prop, Vue} from 'vue-property-decorator';
@Component({
components: {}
})
export default class Loading extends Vue
{
// @ts-ignore
@Prop() text: string;
}
</script>
<style scoped> <style scoped>
#loading #loading