BOC v1.0: RS256 auth, Ledger integration, Prometheus metrics, CI/CD, backup
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import ownerDocument from './ownerDocument';
|
||||
/**
|
||||
* Returns the owner window of a given element.
|
||||
*
|
||||
* @param node the element
|
||||
*/
|
||||
|
||||
export default function ownerWindow(node) {
|
||||
var doc = ownerDocument(node);
|
||||
return doc && doc.defaultView || window;
|
||||
}
|
||||
Reference in New Issue
Block a user