MCPcopy Create free account
hub / github.com/docker/getting-started / Manager

Function Manager

app/src/static/js/react-bootstrap.js:2010–2037  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2008 inheritsLoose_default()(Manager, _React$Component);
2009
2010 function Manager() {
2011 var _this;
2012
2013 _this = _React$Component.call(this) || this;
2014
2015 defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setReferenceNode", function (referenceNode) {
2016 if (!referenceNode || _this.state.context.referenceNode === referenceNode) {
2017 return;
2018 }
2019
2020 _this.setState(function (_ref) {
2021 var context = _ref.context;
2022 return {
2023 context: extends_default()({}, context, {
2024 referenceNode: referenceNode
2025 })
2026 };
2027 });
2028 });
2029
2030 _this.state = {
2031 context: {
2032 setReferenceNode: _this.setReferenceNode,
2033 referenceNode: undefined
2034 }
2035 };
2036 return _this;
2037 }
2038
2039 var _proto = Manager.prototype;
2040

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…