Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove API Client from the tree #1007

Merged
merged 17 commits into from
May 7, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"hls.js": "^0.13.1",
"howler": "^2.1.3",
"intersection-observer": "^0.7.0",
"jellyfin-apiclient": "https://github.com/jellyfin/jellyfin-apiclient-javascript#v1.1.0",
"jellyfin-noto": "https://github.com/jellyfin/jellyfin-noto",
"jquery": "^3.5.0",
"jstree": "^3.3.7",
Expand All @@ -90,18 +91,19 @@
"test": [
"src/components/autoFocuser.js",
"src/components/cardbuilder/cardBuilder.js",
"src/scripts/dom.js",
"src/components/filedownloader.js",
"src/scripts/filesystem.js",
"src/scripts/keyboardnavigation.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dup

Suggested change
"src/scripts/keyboardnavigation.js",

"src/components/sanatizefilename.js",
"src/components/scrollManager.js",
"src/scripts/settings/appSettings.js",
"src/scripts/settings/userSettings.js",
"src/scripts/settings/webSettings.js",
"src/scripts/dfnshelper.js",
"src/scripts/dom.js",
"src/scripts/imagehelper.js",
"src/scripts/inputManager.js"
"src/scripts/inputManager.js",
"src/scripts/keyboardnavigation.js",
"src/scripts/settings/appSettings.js",
"src/scripts/settings/userSettings.js",
"src/scripts/settings/webSettings.js"
],
"plugins": [
"@babel/plugin-transform-modules-amd"
Expand Down
20 changes: 20 additions & 0 deletions src/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ _define("page", function() {
return page;
});

// core-js
var polyfill = require("@babel/polyfill/dist/polyfill");
_define("polyfill", function () {
return polyfill;
Expand Down Expand Up @@ -152,3 +153,22 @@ var headroom = require("headroom.js/dist/headroom");
_define("headroom", function () {
return headroom;
});

// apiclient
var apiclient = require("jellyfin-apiclient");

_define("events", function () {
return apiclient.Events;
});

_define("credentialprovider", function () {
return apiclient.Credentials;
});

_define("connectionManagerFactory", function () {
return apiclient.ConnectionManager;
});

_define("appStorage", function () {
return apiclient.AppStorage;
});
236 changes: 0 additions & 236 deletions src/libraries/apiclient/apiclient.js

This file was deleted.

53 changes: 0 additions & 53 deletions src/libraries/apiclient/appStorage.js

This file was deleted.

Loading