From af282f908c8a0932e06f9effbf6fc7d635debd09 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Sat, 23 Dec 2017 12:04:38 -0500 Subject: [PATCH] Fix removeFolder() JSDoc. --- API.md | 10 +++++++--- src/dat/gui/GUI.js | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/API.md b/API.md index 1530763..41478f9 100644 --- a/API.md +++ b/API.md @@ -45,7 +45,7 @@ manipulate variables and fire functions on the fly. * [.remove(controller)](#GUI+remove) * [.destroy()](#GUI+destroy) * [.addFolder(name)](#GUI+addFolder) ⇒ dat.gui.GUI - * [.removeFolder()](#GUI+removeFolder) + * [.removeFolder(folder)](#GUI+removeFolder) * [.open()](#GUI+open) * [.close()](#GUI+close) * [.getRoot()](#GUI+getRoot) ⇒ dat.gui.GUI @@ -230,11 +230,15 @@ name -### gui.removeFolder() +### gui.removeFolder(folder) Removes a subfolder GUI instance. -{dat.gui.GUI} folder The folder to remove. **Kind**: instance method of [GUI](#GUI) + +| Param | Type | Description | +| --- | --- | --- | +| folder | dat.gui.GUI | The folder to remove. | + ### gui.open() diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 4c00993..fbc06c9 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -630,7 +630,7 @@ common.extend( /** * Removes a subfolder GUI instance. - * {dat.gui.GUI} folder The folder to remove. + * @param {dat.gui.GUI} folder The folder to remove. * @instance */ removeFolder: function(folder) {