MCPcopy
hub / github.com/nadbm/react-datasheet / _inherits

Function _inherits

lib/DataCell.js:43–43  ·  view source on GitHub ↗
(subClass, superClass)

Source from the content-addressed store, hash-verified

41function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
42
43function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
44
45function initialData(_ref) {
46 var cell = _ref.cell,

Callers 1

DataCell.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected