Commit 63d9d3ea authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

less comments

parent 35741f0f
...@@ -59,9 +59,7 @@ ...@@ -59,9 +59,7 @@
}else{ }else{
rq = settings.image; rq = settings.image;
} }
console.log("my rq is "+rq);
http.open("GET", rq, true); http.open("GET", rq, true);
http.responseType = "blob"; http.responseType = "blob";
...@@ -95,7 +93,6 @@ ...@@ -95,7 +93,6 @@
$(this).draw({ $(this).draw({
fn: function(ctx){ fn: function(ctx){
var t0 = Date.now(); var t0 = Date.now();
console.log("Processing "+elem.attr("id"));
if ((IMAGE_FORMAT=="JP4")||(IMAGE_FORMAT=="JP46")){ if ((IMAGE_FORMAT=="JP4")||(IMAGE_FORMAT=="JP46")){
if (settings.fast){ if (settings.fast){
quickestPreview(ctx); quickestPreview(ctx);
...@@ -134,7 +131,7 @@ ...@@ -134,7 +131,7 @@
//saturation(ctx,SATURATION[0]); //saturation(ctx,SATURATION[0]);
} }
Elphel.drawScaled(cnv_working,cnv_display,settings.width); Elphel.drawScaled(cnv_working,cnv_display,settings.width);
console.log(elem.attr("id")+" processing finished, total time: "+(Date.now()-t0)/1000+" s"); console.log("#"+elem.attr("id")+", time: "+(Date.now()-t0)/1000+" s");
$(this).trigger("canvas_ready"); $(this).trigger("canvas_ready");
if (settings.refresh) get_image(); if (settings.refresh) get_image();
......
Markdown is supported
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