Phyks (Lucas Verney)
fffe9c4cd3
Major code review, cleaning the code and adding a lot of comments. Also implements a separate store to keep entities with a reference count and garbage collection. This closes #15. Known issues at the moment are: * Webplayer is no longer working, it has to be refactored. * AlbumPage is to be implemented.
11 lines
322 B
JavaScript
11 lines
322 B
JavaScript
/**
|
|
* This is the main JS entry point.
|
|
* It loads either the production or the development index file, based on the
|
|
* environment variables in use.
|
|
*/
|
|
if (process.env.NODE_ENV === "production") {
|
|
module.exports = require("./index.production.js");
|
|
} else {
|
|
module.exports = require("./index.development.js");
|
|
}
|