removed unneeded scripts

This commit is contained in:
Anton Maisak 2021-07-06 12:58:19 +03:00
parent 301948861e
commit d14547ec87
2 changed files with 0 additions and 26 deletions

View File

@ -131,25 +131,6 @@ Vue.component('package-script', {
</pre>`,
});
Vue.component('common-script', {
props: {
name: String,
},
data() {
return {
info: null
};
},
mounted() {
selectScript(this.name)
.then(res => (this.info = res));
},
template: `
<pre class="pre">
{{ info }}
</pre>`,
});
Vue.component('warn', {
template: `
<div class="warn-description">

View File

@ -77,10 +77,3 @@ getPackageScript = function (name, script) {
})
.then(response => response.data);
}
selectScript = function(name) {
return axios.get(`${scriptsUrlBase}/${name}.sh`, {
responseType: 'text'
})
.then(response => response.data);
}