Commit 115ffa37 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Change props to meet guidelines

parent f0e23800
<script>
const RepoFile = {
props: {
name: 'repo-file',
file: Object,
isTree: Boolean,
isMini: Boolean,
loading: Object,
hasFiles: Boolean,
activeFile: Object,
file: {
type: Object,
required: true,
},
isMini: {
type: Boolean,
required: false,
default: false,
},
loading: {
type: Object,
required: false,
default: {},
},
hasFiles: {
type: Boolean,
required: false,
default: false,
},
activeFile: {
type: Object,
required: true,
},
},
methods: {
......
<script>
const RepoFileOptions = {
props: {
name: 'repo-file-options',
isMini: Boolean,
projectName: String,
isMini: {
type: Boolean,
required: false,
default: false,
},
projectName: {
type: String,
required: true,
},
},
};
......
<script>
const RepoLoadingFile = {
props: {
loading: {
type: Object,
required: false,
default: {},
},
hasFiles: {
type: Boolean,
required: false,
default: false,
},
isMini: {
type: Boolean,
required: false,
default: false,
},
},
methods: {
lineOfCode(n) {
return `line-of-code-${n}`;
},
},
props: {
loading: Object,
hasFiles: Boolean,
isMini: Boolean,
},
};
export default RepoLoadingFile;
......
<script>
const RepoPreviousDirectory = {
props: {
name: 'repo-previous-directory',
prevUrl: String,
prevUrl: {
type: String,
required: true,
},
},
methods: {
......
......@@ -3,9 +3,10 @@ import RepoStore from './repo_store';
const RepoTab = {
props: {
name: 'repo-tab',
tab: Object,
saved: true,
tab: {
type: Object,
required: true,
},
},
computed: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment