Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95164189
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
Fri, Dec 13, 09:12
Size
254 B
Mime Type
text/x-java
Expires
Sun, Dec 15, 09:12 (1 d, 21 h)
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