2018-01-30 14:48:25 +01:00
|
|
|
/**
|
|
|
|
* BetterDiscord Vendor Module
|
|
|
|
* Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
|
|
|
|
* All rights reserved.
|
|
|
|
* https://betterdiscord.net
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
import jQuery from 'jquery';
|
2018-02-02 13:45:06 +01:00
|
|
|
import lodash from 'lodash';
|
2018-03-21 22:07:57 +01:00
|
|
|
import Vue from 'vue';
|
2019-03-05 20:28:32 +01:00
|
|
|
import { Axi } from 'common';
|
2018-01-30 14:48:25 +01:00
|
|
|
|
2018-07-07 19:53:16 +02:00
|
|
|
import request from 'request-promise-native';
|
2018-07-07 14:48:45 +02:00
|
|
|
|
2018-05-29 17:49:37 +02:00
|
|
|
import Combokeys from 'combokeys';
|
|
|
|
import filetype from 'file-type';
|
|
|
|
import filewatcher from 'filewatcher';
|
|
|
|
import VTooltip from 'v-tooltip';
|
|
|
|
|
2018-07-07 19:53:16 +02:00
|
|
|
export { jQuery as $, request };
|
2018-02-14 21:15:27 +01:00
|
|
|
|
2018-01-30 14:48:25 +01:00
|
|
|
export default class {
|
|
|
|
|
2018-03-21 00:24:31 +01:00
|
|
|
/**
|
|
|
|
* jQuery
|
|
|
|
*/
|
|
|
|
static get jQuery() { return jQuery }
|
|
|
|
static get $() { return this.jQuery }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Lodash
|
|
|
|
*/
|
|
|
|
static get lodash() { return lodash }
|
|
|
|
static get _() { return this.lodash }
|
|
|
|
|
2018-03-21 22:07:57 +01:00
|
|
|
/**
|
|
|
|
* Vue
|
|
|
|
*/
|
2018-05-20 01:46:15 +02:00
|
|
|
static get Vue() { return Vue }
|
2018-03-21 22:07:57 +01:00
|
|
|
|
2019-03-05 20:28:32 +01:00
|
|
|
static get axios() { return Axi.axios }
|
|
|
|
|
2018-07-07 19:53:16 +02:00
|
|
|
static get request() { return request }
|
2018-07-07 14:48:45 +02:00
|
|
|
|
2018-05-29 17:49:37 +02:00
|
|
|
static get Combokeys() { return Combokeys }
|
|
|
|
static get filetype() { return filetype }
|
|
|
|
static get filewatcher() { return filewatcher }
|
|
|
|
static get VTooltip() { return VTooltip }
|
|
|
|
|
2018-01-30 14:48:25 +01:00
|
|
|
}
|