Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95045751
ownerWindow.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 12, 10:27
Size
254 B
Mime Type
text/x-java
Expires
Sat, Dec 14, 10:27 (2 d)
Engine
blob
Format
Raw Data
Handle
22916029
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ownerWindow.js
View Options
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;
}
Event Timeline
Log In to Comment