We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80508e8 commit 0861736Copy full SHA for 0861736
src/lib/get_graph_div.js
@@ -10,15 +10,12 @@
10
11
/**
12
* Allow referencing a graph DOM element either directly
13
- * or its id string
+ * or by its id string
14
*
15
* @param {HTMLDivElement|string} gd: a graph element or its id
16
17
* @returns {HTMLDivElement} the DOM element of the graph
18
*/
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)
22
module.exports = function(gd) {
23
var gdElement;
24
0 commit comments