Skip to content

Commit 0861736

Browse files
committed
fix docs for getGraphDiv
1 parent 80508e8 commit 0861736

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: src/lib/get_graph_div.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@
1010

1111
/**
1212
* Allow referencing a graph DOM element either directly
13-
* or its id string
13+
* or by its id string
1414
*
1515
* @param {HTMLDivElement|string} gd: a graph element or its id
1616
*
1717
* @returns {HTMLDivElement} the DOM element of the graph
1818
*/
19-
// Get the container div: we store all variables for this plot as
20-
// properties of this div
21-
// some callers send this in by DOM element, others by id (string)
2219
module.exports = function(gd) {
2320
var gdElement;
2421

0 commit comments

Comments
 (0)