Skip to content

Commit 5304f86

Browse files
committed
Fix deprecation warning about GLOBAL
This came up on CITGM (https://github.com/nodejs/citgm) and it's easy to fix.
1 parent d5fe0fd commit 5304f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/objects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@
799799
if (typeof Int8Array !== 'undefined') {
800800
QUnit.test('#1929 Typed Array constructors are functions', function(assert) {
801801
_.chain(['Float32Array', 'Float64Array', 'Int8Array', 'Int16Array', 'Int32Array', 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array'])
802-
.map(_.propertyOf(typeof GLOBAL != 'undefined' ? GLOBAL : window))
802+
.map(_.propertyOf(typeof global != 'undefined' ? global : window))
803803
.compact()
804804
.each(function(TypedArray) {
805805
// PhantomJS reports `typeof UInt8Array == 'object'` and doesn't report toString TypeArray

0 commit comments

Comments
 (0)