tsquillario/MiniSub — pull request #27 by javaguirre (2012-04-24 18:47:34+00:00)
Title: Splitting app.js and require.js to load js files

Hi!

I liked your project in wanted to contribute, I started reading your code but found difficult to have all app logic in just a file (app.js).

I thought It could be a good approach to split this app file, so I did it and moved it in js/libs directory. These files are api, utils, generators, chat, player and auth.

I also put jquery plugins in plugins directory, require.js configuration is in main.js file.

Of course I'm openned to suggestions and changes on this files and organization, I hope you like it.

Now I will try to put some documentation of How to start the application, and I'll try to fix some bugs I've found. I think it could be a good idea also to have some js class for some app logic, just to wrap variables and not having repeated code.

Thanks for you attention,

Javi.