Compare commits
No commits in common. "restructuring" and "main" have entirely different histories.
restructur
...
main
@ -5,9 +5,6 @@ window.hiss = {
|
||||
|
||||
import * as index from './index/index.js'
|
||||
import * as view from './view/view.js'
|
||||
import * as player from './view/player.js'
|
||||
import * as browser from './view/browser.js'
|
||||
import * as queue from './view/queue.js'
|
||||
import Store from 'store'
|
||||
import * as device from 'device'
|
||||
|
||||
@ -50,9 +47,6 @@ export async function State() {
|
||||
{
|
||||
Object.assign(window, {
|
||||
view,
|
||||
player,
|
||||
browser,
|
||||
queue,
|
||||
device,
|
||||
index,
|
||||
|
||||
|
@ -45,7 +45,7 @@ export async function Init() {
|
||||
|
||||
a['Enter'] = a[' '] = {
|
||||
down(focus) {
|
||||
view.player.Queue(Entry(hiss.view.browser.focus))
|
||||
queue.Add(Entry(hiss.view.browser.focus))
|
||||
view.FocusNext()
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,4 @@
|
||||
import * as index from "../index/index.js"
|
||||
import * as player from './player.js'
|
||||
import * as browser from './browser.js'
|
||||
import * as queue from './queue.js'
|
||||
|
||||
export function State() {
|
||||
hiss.state.queue = []
|
||||
|
@ -3,9 +3,16 @@ import * as player from './player.js'
|
||||
import * as browser from './browser.js'
|
||||
import * as queue from './queue.js'
|
||||
|
||||
export {
|
||||
player,
|
||||
browser,
|
||||
queue
|
||||
}
|
||||
|
||||
export function State() {
|
||||
player.State()
|
||||
browser.State()
|
||||
queue.State()
|
||||
}
|
||||
|
||||
export async function Init() {
|
||||
|
@ -876,11 +876,6 @@
|
||||
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.2.tgz"
|
||||
integrity sha512-PaW2DY5Tan+IFvNJGHDmUrORadbe/Ceh8tQxi8cmdQVCCYsLoQo2cuaSj+AU+YRX8M4ivS2vJ9UGaxfuNN7gmg==
|
||||
|
||||
"@rollup/rollup-linux-x64-musl@4.27.2":
|
||||
version "4.27.2"
|
||||
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.2.tgz"
|
||||
integrity sha512-dOlWEMg2gI91Qx5I/HYqOD6iqlJspxLcS4Zlg3vjk1srE67z5T2Uz91yg/qA8sY0XcwQrFzWWiZhMNERylLrpQ==
|
||||
|
||||
"@types/estree@^1.0.0", "@types/estree@1.0.6":
|
||||
version "1.0.6"
|
||||
resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user