From 55a69aeb3c66b533d5a2d27d7548471c2c8b5dfc Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 24 Jul 2012 00:24:20 -0700 Subject: jshint cleanup on the tools directory Signed-off-by: Valerio Virgillito --- js/tools/ShapeTool.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'js/tools/ShapeTool.js') diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js index ecc0dca3..e1ca31e6 100755 --- a/js/tools/ShapeTool.js +++ b/js/tools/ShapeTool.js @@ -167,13 +167,13 @@ exports.ShapeTool = Montage.create(DrawingTool, { }, getGLWorld: { - value: function (canvas, use3D) - { - var world = this.application.ninja.elementMediator.getShapeProperty(canvas, "GLWorld"); - if(!world) - { + value: function (canvas, use3D) { + var world; + + world = this.application.ninja.elementMediator.getShapeProperty(canvas, "GLWorld"); + if(!world) { // create all the GL stuff - var world = new World(canvas, use3D); + world = new World(canvas, use3D); this.application.ninja.elementMediator.setShapeProperty(canvas, "GLWorld", world); } -- cgit v1.2.3