From 0228492bbe8d47f2d716ea5f76baaf403a545e37 Mon Sep 17 00:00:00 2001 From: raphael Date: Fri, 11 Jan 2019 13:34:31 +0100 Subject: [PATCH] add better comments --- public/js/whiteboard.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/js/whiteboard.js b/public/js/whiteboard.js index 6b03cef..c686d46 100644 --- a/public/js/whiteboard.js +++ b/public/js/whiteboard.js @@ -42,19 +42,19 @@ var whiteboard = { var svgRect = null; var svgCirle = null; var latestTouchCoods = null; - //Background + //background grid (repeating image) _this.backgroundGrid = $('
'); - + // container for background images _this.imgContainer = $('
'); - //Canvas + // whiteboard canvas _this.canvasElement = $(''); - + // SVG container holding drawing or moving previews _this.svgContainer = $(''); - + // container for own and other users cursors _this.cursorContainer = $('
'); - + // drag and drop indicator, hidden by default _this.dropIndicator = $('
') - + // mouse overlay for draw callbacks _this.mouseOverlay = $('
'); $(whiteboardContainer).append(_this.backgroundGrid)