\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
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
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
}
elements.css(style);
elements.css('position','absolute');
- consolelog(elements);
//image inside ts-image-container:
image.css({
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){
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'){