From d8e7cd89ada48e862d4b19408ffd5894912a9132 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 26 Sep 2015 11:27:58 -0700 Subject: [PATCH] Cleanup, comments --- examples/particle_explorer/main.js | 2 +- examples/particle_explorer/particleExplorer.js | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/examples/particle_explorer/main.js b/examples/particle_explorer/main.js index fc06ba345b..6509a6e865 100644 --- a/examples/particle_explorer/main.js +++ b/examples/particle_explorer/main.js @@ -122,7 +122,7 @@ window.onload = function() { }); controller.onFinishChange(function(value) { - console.log('should group?', controller.shouldGroup) + // console.log('should group?', controller.shouldGroup) // Fires when a controller loses focus. writeDataToInterface(this.property, value, this.shouldGroup) }); diff --git a/examples/particle_explorer/particleExplorer.js b/examples/particle_explorer/particleExplorer.js index a0116a0f34..a39b3e0307 100644 --- a/examples/particle_explorer/particleExplorer.js +++ b/examples/particle_explorer/particleExplorer.js @@ -131,19 +131,17 @@ SettingsWindow = function() { print('INIT testParticles' + testParticles) }; this.onWebEventReceived = function(data) { - print('DATA ' + data) - - + // print('DATA ' + data) var _data = JSON.parse(data) if (_data.type !== 'particleExplorer_update') { return; } if (_data.shouldGroup === true) { - print('USE GROUP PROPERTIES') + // print('USE GROUP PROPERTIES') editEntity(_data.groupProperties) return; } else { - print('USE A SINGLE PROPERTY') + // print('USE A SINGLE PROPERTY') editEntity(_data.singleProperty) } @@ -155,11 +153,9 @@ SettingsWindow = function() { function editEntity(properties) { - // print('TEST PARTICLES??' + testParticles) - print('PROPS' + JSON.stringify(properties)); Entities.editEntity(testParticles, properties); var currentProperties = Entities.getEntityProperties(testParticles) - print('CURRENT PROPS', JSON.stringify(currentProperties)) + // print('CURRENT PROPS', JSON.stringify(currentProperties)) }