Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95051425
isWindow.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, 11:34
Size
216 B
Mime Type
text/x-java
Expires
Sat, Dec 14, 11:34 (2 d)
Engine
blob
Format
Raw Data
Handle
22916403
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
isWindow.js
View Options
import
isDocument
from
'./isDocument'
;
export
default
function
isWindow
(
node
)
{
if
(
'window'
in
node
&&
node
.
window
===
node
)
return
node
;
if
(
isDocument
(
node
))
return
node
.
defaultView
||
false
;
return
false
;
}
Event Timeline
Log In to Comment