mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Ensure file names match module names used
This commit is contained in:
parent
2c589a4ca2
commit
484f80c21c
6 changed files with 16 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@import url("main.css");
|
||||
@import url("main-window.css");
|
||||
@import url("context-menu.css");
|
||||
|
||||
/* Rules used by all windows */
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
define(['file'], function(MyFile) {
|
||||
define([
|
||||
'my-file'
|
||||
], function(
|
||||
MyFile
|
||||
) {
|
||||
return {
|
||||
init: function(winamp) {
|
||||
this.winamp = winamp;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
define(['multi-display', 'font'], function(MultiDisplay, Font) {
|
||||
define([
|
||||
'multi-display',
|
||||
'font'
|
||||
], function(
|
||||
MultiDisplay,
|
||||
Font
|
||||
) {
|
||||
return {
|
||||
init: function(winamp) {
|
||||
this.winamp = winamp;
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ define([
|
|||
'window-manager',
|
||||
'skin',
|
||||
'media',
|
||||
'file'
|
||||
'my-file'
|
||||
], function(
|
||||
MainWindow,
|
||||
WindowManager,
|
||||
SkinManager,
|
||||
Skin,
|
||||
Media,
|
||||
MyFile
|
||||
) {
|
||||
|
|
@ -20,7 +20,7 @@ return {
|
|||
|
||||
this.windowManager = WindowManager;
|
||||
this.media = Media.init();
|
||||
this.skin = SkinManager.init(document.getElementById('visualizer'), this.media._analyser);
|
||||
this.skin = Skin.init(document.getElementById('visualizer'), this.media._analyser);
|
||||
this.state = '';
|
||||
|
||||
this.mainWindow = MainWindow.init(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue