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