merge 3rdparty assets

This commit is contained in:
pypy
2020-06-26 20:02:15 +09:00
parent cca42974fe
commit 86ecc9c59a
6 changed files with 39 additions and 15 deletions

View File

@@ -4,6 +4,13 @@
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
import Noty from 'noty';
import Vue from 'vue';
import VueLazyload from 'vue-lazyload';
import { DataTables } from 'vue-data-tables';
import ElementUI from 'element-ui';
import locale from 'element-ui/lib/locale/lang/en';
CefSharp.BindObjectAsync(
'VRCX',
'VRCXStorage',
@@ -95,6 +102,10 @@ CefSharp.BindObjectAsync(
timeout: 6000
});
Vue.use(ElementUI, {
locale
});
var removeFromArray = function (array, item) {
var { length } = array;
for (var i = 0; i < length; ++i) {
@@ -187,9 +198,7 @@ CefSharp.BindObjectAsync(
}
});
Vue.use(DataTables.DataTables);
ELEMENT.locale(ELEMENT.lang.en);
Vue.use(DataTables);
var uuidv4 = () => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
var v = Math.random() * 16 | 0;