From 1b557a4b26024ed6a67c96bedf04cc79b2bb134e Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Oct 2016 17:20:39 +0530 Subject: [PATCH] Removed commented code --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 130 +--------------------------------------------------------------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 129 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 4772e97..1633c98 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -1033,135 +1033,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $('.btnCursor').addClass('activebtncolor'); - //$('#canvas').drawText({ - // layer: true, - // draggable: true, - // // opacity: $rootScope.shapestyleOpacity, - // name: 'TextArea_' + TextNumber, - // groups: ['TextArea_' + TextNumber], - // dragGroups: ['TextArea_' + TextNumber], - // fillStyle: '#36c', - // strokeWidth: 0, - // x: offsetX1, y: offsetY1, - // fontSize: '14pt', - // align: "left", - // fontFamily: 'Verdana, sans-serif', - // text: '' - - //}) - // // Draw rect as wide as the text - // .drawRect({ - // layer: true, - // name: "TextRect_" + resetTextRect, - // dragGroups: ['shapes'], - // opacity: shapestyleOpacity, - // strokeStyle: shapestyleborderColor, - // strokeWidth: shapestyleborderWidth, - // fillStyle: shapestyleFillColor, - // x: offsetX1, y: offsetY1, - // width: x - offsetX1, - // height: y - offsetY1, - // add: function (layer) { - - // $rootScope.rectDimension.push({ width: layer.width, height: layer.height, x: layer.x, y: layer.y }); - // // $rootScope.rectDimensionCI.push({ width: layer.width, height: layer.height, x: layer.x, y: layer.y }); - - // }, - // click: function (layer) { - - // $rootScope.canvasLayerNameCollection = []; - // $rootScope.canvasLayerNameCollection.push(layer.name); - // $('#canvas').setLayer(layer.name, { - // handle: { - // type: 'rectangle', - // fillStyle: '#fff', - // strokeStyle: '#c33', - // strokeWidth: 2, - // width: 5, height: 5, - // cornerRadius: 3 - // } - // }).drawLayers(); - - // }, - // dblclick: function (layer) { - - // //$rootScope.rectDimensionCI.push({ width: layer.width, height: layer.height, x: layer.x, y: layer.y }); - // $rootScope.rectDimension.push({ width: layer.width, height: layer.height, x: layer.x, y: layer.y }); - // $("#annotationTextModal").modal("toggle"); - - // $("#text_area").val(''); - // $("#text_area").css({ " font-family": "'Verdana, sans-serif'", "font-size": "14px", "font-weight": "normal", "font-style": "normal", "color": "#000", "text-align": "left", "text-decoration": "none" }); - // $("#font-color .minicolors .minicolors-swatch .minicolors-swatch-color").css({ "background-color": "#000000" }); - // // $("#font-color .minicolors .minicolors-swatch .minicolors-swatch-color").addClass("ActiveDefaultColorAnnotation"); - - // $("#text-italic").removeClass("ActiveFormattingButtonClass"); - - // $("#text-bold").removeClass("ActiveFormattingButtonClass"); - - // $("#text-underline").removeClass("ActiveFormattingButtonClass"); - - // $("#text-left").removeClass("ActiveFormattingButtonClass"); - - // $("#text-right").removeClass("ActiveFormattingButtonClass"); - - // $("#text-center").removeClass("ActiveFormattingButtonClass"); - - // }, - // mouseout: function (layer) { - // $rootScope.canvasLayerNameCollection = []; - // $('#canvas').setLayer(layer.name, { - // handle: { - // type: 'rectangle', - // fillStyle: 'pink', - // strokeStyle: 'yellow', - // strokeWidth: 0, - // width: 0, height: 0, - // cornerRadius: 0 - // } - - // }).drawLayers(); - - // }, - // mouseover: function (layer) { - - // $('#canvas').setLayer(layer.name, { - // handle: { - // type: 'rectangle', - // fillStyle: '#fff', - // strokeStyle: '#c33', - // strokeWidth: 2, - // width: 5, height: 5, - // cornerRadius: 3 - // } - // }).drawLayers(); - - // } - // }); - - - //$("#annotationTextModal").modal("toggle"); - //$('.btnCursor').trigger('click'); - //$("#font-color .minicolors .minicolors-swatch .minicolors-swatch-color").css({ "background-color": "#000000" }); - //// $("#font-color .minicolors .minicolors-swatch .minicolors-swatch-color").addClass("ActiveDefaultColorAnnotation"); - //$("#text_area").val(''); - - //$("#text_area").css({ " font-family": 'Verdana, sans-serif', "font-size": "14px", "font-weight": "normal", "font-style": "normal", "color": "#000", "text-align": "left", "text-decoration": "none" }); - - //$("#text-italic").removeClass("ActiveFormattingButtonClass"); - - //$("#text-bold").removeClass("ActiveFormattingButtonClass"); - - //$("#text-underline").removeClass("ActiveFormattingButtonClass"); - - //$("#text-left").removeClass("ActiveFormattingButtonClass"); - - //$("#text-right").removeClass("ActiveFormattingButtonClass"); - - //$("#text-center").removeClass("ActiveFormattingButtonClass"); - - //$(".btn-annotation").removeClass("activebtncolor"); - - //$('.btnCursor').addClass('activebtncolor'); + } -- libgit2 0.21.4