Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121311164
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, Jul 10, 00:25
Size
216 B
Mime Type
text/x-java
Expires
Sat, Jul 12, 00:25 (2 d)
Engine
blob
Format
Raw Data
Handle
27309284
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