From: riccardo Date: Wed, 25 May 2011 14:53:23 +0000 (+0200) Subject: removed console log messages X-Git-Tag: 1.1~158 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=778b22bb3fd4fd57b06627495cacc9a909fb6e39;p=telemeta.git removed console log messages --- diff --git a/telemeta/htdocs/js/application.js b/telemeta/htdocs/js/application.js index da317ff4..6f79329f 100644 --- a/telemeta/htdocs/js/application.js +++ b/telemeta/htdocs/js/application.js @@ -309,7 +309,7 @@ function loadScripts(){ /** - * function for writing to the console. Catches errors, if any (eg, console == undefined) + * function for writing to the console. Catches errors, if any (eg, console == undefined) and does nothing in case */ function consolelog(text){ if(typeof console != 'undefined'){ diff --git a/telemeta/htdocs/timeside/js/markermap.js b/telemeta/htdocs/timeside/js/markermap.js index d27746d9..712936fb 100644 --- a/telemeta/htdocs/timeside/js/markermap.js +++ b/telemeta/htdocs/timeside/js/markermap.js @@ -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 diff --git a/telemeta/htdocs/timeside/js/player.js b/telemeta/htdocs/timeside/js/player.js index 20d98cf4..b4b5d0e9 100644 --- a/telemeta/htdocs/timeside/js/player.js +++ b/telemeta/htdocs/timeside/js/player.js @@ -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({ diff --git a/telemeta/htdocs/timeside/js/ruler.js b/telemeta/htdocs/timeside/js/ruler.js index 611e30f3..cbb6e837 100644 --- a/telemeta/htdocs/timeside/js/ruler.js +++ b/telemeta/htdocs/timeside/js/ruler.js @@ -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){ diff --git a/telemeta/htdocs/timeside/js/timeside.js b/telemeta/htdocs/timeside/js/timeside.js index 80fc8b75..9a1f61aa 100644 --- a/telemeta/htdocs/timeside/js/timeside.js +++ b/telemeta/htdocs/timeside/js/timeside.js @@ -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'){