From 3f909da2538113e434f9039c01065606ba11b4c5 Mon Sep 17 00:00:00 2001 From: sapics Date: Sat, 10 Dec 2016 12:27:46 +0900 Subject: [PATCH] Fix example in jsdoc --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index 933f860b..bfd09a82 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -1276,7 +1276,7 @@ new function() { // Injection scope for various item event handlers * console.log(path.parent == project.activeLayer); // true * * var group = new Group(); - * group.parent = path; + * path.parent = group; * * // Now the parent of the path has become the group: * console.log(path.parent == group); // true