Migration of loading to ES6 module

This commit is contained in:
Cameron 2020-07-28 23:08:27 +01:00
parent 40b98bb3d4
commit 675cad71d8
45 changed files with 146 additions and 67 deletions

View file

@ -1,6 +1,8 @@
define(['jQuery', 'loading', 'globalize', 'emby-checkbox', 'listViewStyle', 'emby-input', 'emby-select', 'emby-button', 'flexStyles'], function ($, loading, globalize) {
'use strict';
loading = loading.default || loading;
return function (page, providerId, options) {
function reload() {
loading.show();