]> git.parisson.com Git - telemeta.git/commitdiff
removed console log messages
authorriccardo <riccardo@parisson.com>
Wed, 25 May 2011 14:53:23 +0000 (16:53 +0200)
committerriccardo <riccardo@parisson.com>
Wed, 25 May 2011 14:53:23 +0000 (16:53 +0200)
telemeta/htdocs/js/application.js
telemeta/htdocs/timeside/js/markermap.js
telemeta/htdocs/timeside/js/player.js
telemeta/htdocs/timeside/js/ruler.js
telemeta/htdocs/timeside/js/timeside.js

index da317ff4f0df070e57d8fb8884a60ca4d66363d4..6f79329fc31b571671a72064346170a675ccc908 100644 (file)
@@ -309,7 +309,7 @@ function loadScripts(){
 \r
 \r
 /**\r
- * function for writing to the console. Catches errors, if any (eg, console == undefined)\r
+ * function for writing to the console. Catches errors, if any (eg, console == undefined) and does nothing in case\r
  */\r
 function consolelog(text){\r
     if(typeof console != 'undefined'){\r
index d27746d9f8331e32c0cb5c65986a1ca968ac4859..712936fb7b51786541db259de0ed5eda6dfe9464 100644 (file)
@@ -318,12 +318,4 @@ var MarkerMap = TimesideArray.extend({
         return -(low + 1);  // key not found
     }
 }
-);
-
-//var low = 6;
-//var high = 8;
-//consolelog(low+' '+high+' returns '+((low + high) >>> 1));
-//high = 9;
-//consolelog(low+' '+high+' returns '+((low + high) >>> 1));
-//high = 10;
-//consolelog(low+' '+high+' returns '+((low + high) >>> 1));
\ No newline at end of file
+);
\ No newline at end of file
index 20d98cf49f24e2cfbaafc1d2ad057c8de2545a72..b4b5d0e9bf94a5d367c7ff43c5867465c0538f38 100644 (file)
@@ -176,7 +176,6 @@ var Player = TimesideClass.extend({
                 if(buffering && !imgWaitDisplaying){
                     imgWaitDisplaying=true;
                     player.setWait.apply(player,[true]);
-                //consolelog('displaying wait '+this.readyState+' '+this.playState);
                 }else if(!buffering && sPosInMsec < sPos){
                     //isBuffering seems to be true at regular interval, so we could be in the case
                     //that !buffering but is actually buffering and no sound is heard, so
@@ -492,7 +491,6 @@ var Player = TimesideClass.extend({
         }
         elements.css(style);
         elements.css('position','absolute');
-        consolelog(elements);
         
         //image inside ts-image-container:
         image.css({
index 611e30f32b95fca43ec85dc8581b402ad5ecf377..cbb6e837df003c1d12edbc7be443705397b51e27 100644 (file)
@@ -173,7 +173,6 @@ var Ruler = TimesideArray.extend({
         var makeTimeLabel = this.makeTimeLabel;
         var h_1 = h-1; //TODO: use line tickness instead of 1
         var path = new Array(parseInt(0.5+(w/tickWidth)));
-        consolelog(path.length);
         path[0] = ['M 0 '+h_1];
         len = path.length;
         for(i=0;  i < len; i+=tickCount){
index 80fc8b75e654d43d1831ff2273040fe41acc1e21..9a1f61aac48e300fb810e9d6e176e90beebbe0a0 100644 (file)
@@ -368,8 +368,7 @@ var TimesideClass = Class.extend({
     getComputedStyle : function(_elem, _style){
         var computedStyle;
         var $J = this.$J;
-        consolelog(_elem instanceof $J);
-        if(_elem instanceof $J){
+        if(_elem instanceof $J){ //note: '_elem instanceof this.$J' doesnt work. why??
             _elem = _elem.get(0);
         }
         if (typeof _elem.currentStyle != 'undefined'){