UNPKG

jointjs

Version:

JavaScript diagramming library

9 lines (8 loc) 291 B
import getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf"; export default function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = getPrototypeOf(object); if (object === null) break; } return object; }