From f3583075cb17945d47a34bc1a824ed15fa11bcf3 Mon Sep 17 00:00:00 2001 From: ghaiklor Date: Mon, 7 Dec 2015 16:07:44 +0200 Subject: [PATCH] docs(shape): Update comments --- src/Basic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Basic.js b/src/Basic.js index d88843c..747f733 100644 --- a/src/Basic.js +++ b/src/Basic.js @@ -54,7 +54,7 @@ export default class Shape { * Set new option value. * * @param {String} path Path can be set with dot-notation - * @param {*} value + * @param {*} value Value that need to be written to the options object * @returns {Shape} */ set(path, value) { @@ -239,7 +239,7 @@ export default class Shape { * Returns Object representation of the shape. * This representation consists of all options fields. * - * @returns {{name: String, options: {text: String, width: Number, height: Number, x: Number, y: Number, background: String, foreground: String}}} + * @returns {{name: String, options: {text: String, width: Number, height: Number, x: Number, y: Number, background: String, foreground: String, animation: Object}}} */ toObject() { return {