Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103724103
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
Tue, Mar 4, 07:48
Size
254 B
Mime Type
text/x-java
Expires
Thu, Mar 6, 07:48 (2 d)
Engine
blob
Format
Raw Data
Handle
24649081
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