Ensure file names match module names used

This commit is contained in:
Jordan Eldredge 2015-04-14 22:18:09 -07:00
parent 2c589a4ca2
commit 484f80c21c
6 changed files with 16 additions and 6 deletions

View file

@ -1,4 +1,4 @@
@import url("main.css");
@import url("main-window.css");
@import url("context-menu.css");
/* Rules used by all windows */

View file

@ -1,4 +1,8 @@
define(['file'], function(MyFile) {
define([
'my-file'
], function(
MyFile
) {
return {
init: function(winamp) {
this.winamp = winamp;

View file

@ -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;

View file

@ -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);