adapters/renderer.js
Function Renderer
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function Renderer (channel) {
var textures = textureLoader(loader, texturesToLoad, ready, fail),
stage = scene(textures.skybox, textures.star1, textures.star2, textures.star3),
ships = shipYard(stage.scene),
launcher = torpedoLauncher(stage.scene, textures.torpedo),