CIDARLAB / 3DuF

Found unused expressions JS-0093
Bug risk
Minor
14 occurrences in this check
Found unused expression
  61     * Default ViewManger Constructor
  62     */
  63    constructor() {
  64        this.threeD;  65        this.view = new PaperView("c", this);
  66
  67        this.__grid = new AdaptiveGrid(this);
Expected an assignment or function call and instead saw an expression
  61     * Default ViewManger Constructor
  62     */
  63    constructor() {
  64        this.threeD;  65        this.view = new PaperView("c", this);
  66
  67        this.__grid = new AdaptiveGrid(this);
 31        this.camera;
 32        this.controls;
 33        this.scene;
 34        this.renderer; 35        this.backgroundColor = Colors.BLUE_50;
 36        this.mockup = null;
 37        this.layers = null;
 30        this.container = renderContainer;
 31        this.camera;
 32        this.controls;
 33        this.scene; 34        this.renderer;
 35        this.backgroundColor = Colors.BLUE_50;
 36        this.mockup = null;
 29    constructor(renderContainer) {
 30        this.container = renderContainer;
 31        this.camera;
 32        this.controls; 33        this.scene;
 34        this.renderer;
 35        this.backgroundColor = Colors.BLUE_50;
 28export class ThreeDeviceRenderer {
 29    constructor(renderContainer) {
 30        this.container = renderContainer;
 31        this.camera; 32        this.controls;
 33        this.scene;
 34        this.renderer;
Expected an assignment or function call and instead saw an expression
 28export class ThreeDeviceRenderer {
 29    constructor(renderContainer) {
 30        this.container = renderContainer;
 31        this.camera; 32        this.controls;
 33        this.scene;
 34        this.renderer;
Expected an assignment or function call and instead saw an expression
 29    constructor(renderContainer) {
 30        this.container = renderContainer;
 31        this.camera;
 32        this.controls; 33        this.scene;
 34        this.renderer;
 35        this.backgroundColor = Colors.BLUE_50;
Expected an assignment or function call and instead saw an expression
 30        this.container = renderContainer;
 31        this.camera;
 32        this.controls;
 33        this.scene; 34        this.renderer;
 35        this.backgroundColor = Colors.BLUE_50;
 36        this.mockup = null;
Expected an assignment or function call and instead saw an expression
 31        this.camera;
 32        this.controls;
 33        this.scene;
 34        this.renderer; 35        this.backgroundColor = Colors.BLUE_50;
 36        this.mockup = null;
 37        this.layers = null;
Found unused expression
124
125    for (let i = 0; i < orderedKeys.length; i++) {
126        let color = decimalToLayerColor(i / orderedKeys.length, layer, orderedKeys);
127        new paper.Path.Circle({128            position: new paper.Point(0 + i * 1000, 2000),129            fillColor: layer[orderedKeys[i]],130            radius: 500131        });132    }
133}
134/**
Found unused expression
115 */
116export function renderAllColors(layer, orderedKeys) {
117    for (let i = 0; i < orderedKeys.length; i++) {
118        new paper.Path.Circle({119            position: new paper.Point(0 + i * 1000, 0),120            fillColor: layer[orderedKeys[i]],121            radius: 500122        });123    }
124
125    for (let i = 0; i < orderedKeys.length; i++) {
Expected an assignment or function call and instead saw an expression
 21     * Default Constructor for BareViewManager object
 22     */
 23    constructor() {
 24        this.threeD; 25        this.view = new PaperView("c", this);
 26
 27        this.__grid = new AdaptiveGrid(this);
Found unused expression
 21     * Default Constructor for BareViewManager object
 22     */
 23    constructor() {
 24        this.threeD; 25        this.view = new PaperView("c", this);
 26
 27        this.__grid = new AdaptiveGrid(this);