From aafe16e3e7d27c363b5474f0690cacebc9fcdbb7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 2 Feb 2021 00:06:27 +0530 Subject: [PATCH] prettify the code --- js/pastebox.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/js/pastebox.js b/js/pastebox.js index 8ca0b9d143..2c28746c0c 100644 --- a/js/pastebox.js +++ b/js/pastebox.js @@ -26,7 +26,6 @@ const PASTEBOX = /* exported PasteBox */ class PasteBox { - /** * @constructor */ @@ -52,7 +51,7 @@ class PasteBox { /** * @public - * @param {Object} stage + * @param {Object} stage * @returns {Object} createjs stage */ setStage(stage) { @@ -60,11 +59,11 @@ class PasteBox { return this; } - /** - * @public - * @param {Object} paste - * @returns {Object} paste - */ + /** + * @public + * @param {Object} paste + * @returns {Object} paste + */ setPaste(paste) { this._paste = paste; return this; @@ -72,7 +71,7 @@ class PasteBox { /** * @public - * @param {Object} refreshCanvas + * @param {Object} refreshCanvas * @returns {Object} refreshCanvas */ setRefreshCanvas(refreshCanvas) { @@ -96,7 +95,7 @@ class PasteBox { /** * @public - * @param {number} scale + * @param {number} scale * @param {number} x coordinate * @param {number} y coordinate */