Skip to content
Prev Previous commit
Next Next commit
fix docs for getGraphDiv
  • Loading branch information
alexcjohnson committed Sep 28, 2017
commit 086173685e1cb765ab12b252a08d4e5df61f0e4b
5 changes: 1 addition & 4 deletions src/lib/get_graph_div.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@

/**
* Allow referencing a graph DOM element either directly
* or its id string
* or by its id string
*
* @param {HTMLDivElement|string} gd: a graph element or its id
*
* @returns {HTMLDivElement} the DOM element of the graph
*/
// Get the container div: we store all variables for this plot as
// properties of this div
// some callers send this in by DOM element, others by id (string)
module.exports = function(gd) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, this file was supposed to go in the next commit aa434dd

docs cleaned up in 0861736

var gdElement;

Expand Down