From de29a34890fd71643bcfc598c96904796da44a6d Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Thu, 20 Jun 2013 15:07:09 -0400 Subject: [PATCH] viewer.js: remove dead code --- src/viewer.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 7c0183f2..05054eff 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -597,11 +597,6 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype, bodyStyle.width = "100%"; bodyStyle.height = "100%"; - //canvasStyle.backgroundColor = "black"; - //canvasStyle.color = "white"; - - //containerStyle.position = "fixed"; - //when entering full screen on the ipad it wasnt sufficient to leave //the body intact as only only the top half of the screen would //respond to touch events on the canvas, while the bottom half treated @@ -693,9 +688,6 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype, canvasStyle.backgroundColor = ""; canvasStyle.color = ""; - //containerStyle.position = "relative"; - //containerStyle.zIndex = ""; - body.removeChild( this.element ); nodes = this.previousBody.length; for ( i = 0; i < nodes; i++ ){