Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95170878
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, 10:32
Size
216 B
Mime Type
text/x-java
Expires
Sun, Dec 15, 10:32 (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