MCPcopy Index your code
hub / github.com/csev/py4e / widgetHeight

Function widgetHeight

tools/pythonauto/static/codemirror/codemirror.js:4354–4359  ·  view source on GitHub ↗
(widget)

Source from the content-addressed store, hash-verified

4352 });
4353
4354 function widgetHeight(widget) {
4355 if (widget.height != null) return widget.height;
4356 if (!widget.node.parentNode || widget.node.parentNode.nodeType != 1)
4357 removeChildrenAndAdd(widget.cm.display.measure, elt("div", [widget.node], null, "position: relative"));
4358 return widget.height = widget.node.offsetHeight;
4359 }
4360
4361 function addLineWidget(cm, handle, node, options) {
4362 var widget = new LineWidget(cm, node, options);

Callers 3

intoCoordSystemFunction · 0.70
codemirror.jsFile · 0.70
addLineWidgetFunction · 0.70

Calls 2

removeChildrenAndAddFunction · 0.70
eltFunction · 0.70

Tested by

no test coverage detected