mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Removed another function that is no longer required hex()
This commit is contained in:
parent
adb9f209bb
commit
3a1a47cb6c
1 changed files with 0 additions and 14 deletions
|
@ -83,20 +83,6 @@ export default function (page, providerId, options) {
|
|||
loading.hide();
|
||||
}
|
||||
|
||||
function hex(buffer) {
|
||||
const hexCodes = [];
|
||||
const view = new DataView(buffer);
|
||||
|
||||
for (let i = 0; i < view.byteLength; i += 4) {
|
||||
const value = view.getUint32(i);
|
||||
const stringValue = value.toString(16);
|
||||
const paddedValue = ('00000000' + stringValue).slice(-'00000000'.length);
|
||||
hexCodes.push(paddedValue);
|
||||
}
|
||||
|
||||
return hexCodes.join('');
|
||||
}
|
||||
|
||||
function submitLoginForm() {
|
||||
loading.show();
|
||||
const info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue