overscroll
Version:
14 lines (9 loc) • 372 B
JavaScript
;
exports.__esModule = true;
exports['default'] = getDocument;
var _whatitis = require('whatitis');
var _whatitis2 = _interopRequireDefault(_whatitis);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function getDocument(dom) {
return _whatitis2['default'].Element(dom) ? dom.ownerDocument : document;
}