Sha256: f2c5a2647872c18acfdf6eaba4c8a0b4e1778f502a2858ba641a42e289a50a8c
Contents?: true
Size: 644 Bytes
Versions: 3
Compression:
Stored size: 644 Bytes
Contents
// check if window exists and actually is the global export default typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';
Version data entries
3 entries across 3 versions & 1 rubygems