Commit 23cb33c3 authored by Jens-Christian Fischer's avatar Jens-Christian Fischer
Browse files

remove debug messages

parent 0a16234d
......@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do
[app: :grains,
version: "0.0.24",
version: "0.0.25",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
......@@ -45,7 +45,6 @@ let OrientationPanel = {
let nrSliders = this.slider_titles.length;
this.slider_titles.forEach( (s, idx) => {
console.log("adding " + s);
this.sliders[s] = new Interface.Slider({
bounds: [(1/nrSliders) * idx, .1, 1 / nrSliders, .5],
label: s
......@@ -63,7 +62,6 @@ let OrientationPanel = {
let scaled = values.map(function(i) {
return parseInt(i * 127);
});
console.log(scaled);
let payload = {pitch: scaled[0],
roll: scaled[1],
yaw: scaled[2],
......@@ -75,7 +73,6 @@ let OrientationPanel = {
},
setSliderValue(resp){
console.log(resp);
let slider = this.sliders[resp.element];
slider.setValue(resp.value);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment