From 3c9d7334cac82f66adbdb2cce55a73c4c51ae413 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Sat, 23 Jun 2012 13:46:26 -0700 Subject: Removed Console Logs Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js/stage') diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index 9f4e7809..c2407b13 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js @@ -212,10 +212,8 @@ exports.BindingView = Montage.create(Component, { value: function() { if(this.hide) { - console.log('hiding vinding view'); this.element.style.setProperty('display', 'none'); } else { - console.log("showing binding view"); this.element.style.removeProperty('display'); this.element.style.width = this.width + "px"; this.element.style.height = this.height + "px"; @@ -338,7 +336,6 @@ exports.BindingView = Montage.create(Component, { }.bind(this)); if(typeof (this.objectsTray.element) !== "undefined") { if (this.objectsTray.element.offsetLeft < mousePoint.x && (this.objectsTray.element.offsetLeft + this.objectsTray.element.offsetWidth) > mousePoint.x ) { - //console.log(this.objectsTray.element.offsetTop, (this.objectsTray.element.parentElement.offsetTop + this.objectsTray.element.offsetHeight)); if(this.objectsTray.element.parentElement.offsetTop < mousePoint.y && (this.objectsTray.element.parentElement.offsetTop + this.objectsTray.element.offsetHeight) > mousePoint.y) { overHud = true; } @@ -395,7 +392,6 @@ exports.BindingView = Montage.create(Component, { //debugger; this.connectionElementEnd = nodeEl.parentElement.controller.parentComponent.parentComponent.userComponent; this.connectionPropertyEnd = nodeEl.parentElement.controller.title; - //console.log(this.connectionElementStart, this.connectionPropertyStart, this.connectionElementEnd, this.connectionPropertyEnd); this.application.ninja.objectsController.addBinding({ sourceObject: this.connectionElementStart, sourceObjectPropertyPath: this.connectionPropertyStart, @@ -417,7 +413,6 @@ exports.BindingView = Montage.create(Component, { value: function(e) { // We are looking for a mouse down on an option to start the connection visual if(e._event.target.classList.contains("connectorBubble")) { - //console.log(e._event.target.parentElement.controller.parentComponent.parentComponent.userComponent); this.connectionElementStart = e._event.target.parentElement.controller.parentComponent.parentComponent.userComponent; this.connectionPropertyStart = e._event.target.parentElement.controller.title; this._isDrawingConnection = true; -- cgit v1.2.3