Permalink
Browse files

[ui][tooltip] Removed console commands. ( related with TACD-82 )

  • Loading branch information...
1 parent 2b6a20c commit d15d917e547dbe23697c8d9be5139aea594ec0c6 @emreoztunc committed Jun 1, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 tart/ui/tooltip/TooltipComponent.js
@@ -241,22 +241,20 @@ tart.ui.TooltipComponent.prototype.position = function() {
switch (this.model.options.direction) {
case tart.ui.TooltipComponentModel.Direction.LEFT:
handlerFn = this.positionLeft;
- console.log("left");
break;
case tart.ui.TooltipComponentModel.Direction.RIGHT:
handlerFn = this.positionRight;
- console.log("right");
break;
case tart.ui.TooltipComponentModel.Direction.BOTTOM:
handlerFn = this.positionBottom;
- console.log("bottom");
break;
case tart.ui.TooltipComponentModel.Direction.TOP:
+ handlerFn = this.positionTop;
+ break;
default:
handlerFn = this.positionTop;
console.log("top");
break;
-
}
coordinate = handlerFn.call(this, refElementOffset, refElementSize, myElementSize);

0 comments on commit d15d917

Please sign in to comment.