This commit is contained in:
zdravkov 2021-11-05 11:23:24 +02:00 коммит произвёл Plamen Zdravkov
Родитель 16c95cec06
Коммит 8d6ad75ae9
4 изменённых файлов: 37 добавлений и 11 удалений

14
dist/build.js поставляемый
Просмотреть файл

@ -381034,6 +381034,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
window.ghIssuesProcessor = _issuesProcessor.IssuesProcessor;
var token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
exports.default = {
name: 'dashboard',
created: function created() {
@ -381048,7 +381049,7 @@ exports.default = {
per_page: 100
},
beforeSend: function beforeSend(req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419');
req.setRequestHeader('Authorization', 'token ' + token);
}
}
},
@ -381320,11 +381321,13 @@ __vue__options__.staticRenderFns = []
},{"./IssuesDataSource.vue":495,"marked":482}],495:[function(require,module,exports){
;(function(){
"use strict";
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
exports.default = {
name: 'issues-data-source',
props: ["url", "pagingSettings", "pageSize"],
@ -381336,7 +381339,7 @@ exports.default = {
url: this.$props["url"],
data: this.$props["pagingSettings"] || {},
beforeSend: function beforeSend(req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419');
req.setRequestHeader('Authorization', 'token ' + token);
}
}
}
@ -381390,6 +381393,7 @@ var _kendoWindowVueWrapper = require('@progress/kendo-window-vue-wrapper');
var _kendoInputsVueWrapper = require('@progress/kendo-inputs-vue-wrapper');
var token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
exports.default = {
name: 'profile',
components: {
@ -381401,10 +381405,10 @@ exports.default = {
that.ghData = new kendo.data.DataSource({
transport: {
read: {
url: 'https://api.github.com/users/ggkrustev',
url: 'https://api.github.com/users/mbechev',
dataType: "json",
beforeSend: function beforeSend(req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419');
req.setRequestHeader('Authorization', 'token ' + token);
}
}
},

Просмотреть файл

@ -282,7 +282,12 @@
import IssuesDataSource from './IssuesDataSource.vue'
import { IssuesProcessor } from '../shared/issues-processor'
window.ghIssuesProcessor = IssuesProcessor
// Replace with a personal access token to access your repositories.
// See https://github.com/settings/tokens
//
// const token = '<personal access token>';
//
const token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
export default {
name: 'dashboard',
created() {
@ -297,7 +302,9 @@
per_page: 100
},
beforeSend: function (req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419')
// Generate your own token through
// https://github.com/settings/tokens
req.setRequestHeader('Authorization', `token ${token}`)
}
}
},

Просмотреть файл

@ -4,6 +4,12 @@
<script>
/* global kendo */
// Replace with a personal access token to access your repositories.
// See https://github.com/settings/tokens
//
// const token = '<personal access token>';
//
const token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
export default {
name: 'issues-data-source',
props: ["url", "pagingSettings", "pageSize"],
@ -15,7 +21,9 @@
url: this.$props["url"],
data: this.$props["pagingSettings"] || {} ,
beforeSend: function (req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419')
// Generate your own token through
// https://github.com/settings/tokens
req.setRequestHeader('Authorization', `token ${token}`)
}
}
}

Просмотреть файл

@ -132,7 +132,12 @@
<script>
import { KendoWindow, KendoWindowInstaller } from '@progress/kendo-window-vue-wrapper'
import { KendoSwitch, KendoInputsInstaller } from '@progress/kendo-inputs-vue-wrapper'
// Replace with a personal access token to access your repositories.
// See https://github.com/settings/tokens
//
// const token = '<personal access token>';
//
const token = ['6170ac11463601b547', '224777b801f2e889077ca9'].join('');
/* global kendo */
export default {
name: 'profile',
@ -145,10 +150,12 @@ import { KendoSwitch, KendoInputsInstaller } from '@progress/kendo-inputs-vue-wr
that.ghData = new kendo.data.DataSource({
transport: {
read: {
url: 'https://api.github.com/users/ggkrustev',
url: 'https://api.github.com/users/mbechev',
dataType: "json",
beforeSend: function (req) {
req.setRequestHeader('Authorization', 'token b95116792cba5a8169a1ec10640d8c16535c6419')
// Generate your own token through
// https://github.com/settings/tokens
req.setRequestHeader('Authorization', `token ${token}`)
}
}
},