@@ -19,7 +19,6 @@ import Event from '../Core/Event.js';
19
19
import ExtrapolationType from '../Core/ExtrapolationType.js' ;
20
20
import getFilenameFromUri from '../Core/getFilenameFromUri.js' ;
21
21
import HermitePolynomialApproximation from '../Core/HermitePolynomialApproximation.js' ;
22
- import isArray from '../Core/isArray.js' ;
23
22
import Iso8601 from '../Core/Iso8601.js' ;
24
23
import JulianDate from '../Core/JulianDate.js' ;
25
24
import LagrangePolynomialApproximation from '../Core/LagrangePolynomialApproximation.js' ;
@@ -776,7 +775,7 @@ import WallGraphics from './WallGraphics.js';
776
775
return ;
777
776
}
778
777
779
- if ( isArray ( packetData ) ) {
778
+ if ( Array . isArray ( packetData ) ) {
780
779
for ( var i = 0 , len = packetData . length ; i < len ; ++ i ) {
781
780
processProperty ( type , object , propertyName , packetData [ i ] , interval , sourceUri , entityCollection ) ;
782
781
}
@@ -950,7 +949,7 @@ import WallGraphics from './WallGraphics.js';
950
949
return ;
951
950
}
952
951
953
- if ( isArray ( packetData ) ) {
952
+ if ( Array . isArray ( packetData ) ) {
954
953
for ( var i = 0 , len = packetData . length ; i < len ; ++ i ) {
955
954
processPositionProperty ( object , propertyName , packetData [ i ] , interval , sourceUri , entityCollection ) ;
956
955
}
@@ -1086,7 +1085,7 @@ import WallGraphics from './WallGraphics.js';
1086
1085
return ;
1087
1086
}
1088
1087
1089
- if ( isArray ( packetData ) ) {
1088
+ if ( Array . isArray ( packetData ) ) {
1090
1089
for ( var i = 0 , len = packetData . length ; i < len ; ++ i ) {
1091
1090
processMaterialProperty ( object , propertyName , packetData [ i ] , interval , sourceUri , entityCollection ) ;
1092
1091
}
@@ -1148,7 +1147,7 @@ import WallGraphics from './WallGraphics.js';
1148
1147
}
1149
1148
1150
1149
var propertyData = propertiesData [ key ] ;
1151
- if ( isArray ( propertyData ) ) {
1150
+ if ( Array . isArray ( propertyData ) ) {
1152
1151
for ( var i = 0 , len = propertyData . length ; i < len ; ++ i ) {
1153
1152
processProperty ( getPropertyType ( propertyData [ i ] ) , entity . properties , key , propertyData [ i ] , undefined , sourceUri , entityCollection ) ;
1154
1153
}
@@ -1200,7 +1199,7 @@ import WallGraphics from './WallGraphics.js';
1200
1199
return ;
1201
1200
}
1202
1201
1203
- if ( isArray ( packetData ) ) {
1202
+ if ( Array . isArray ( packetData ) ) {
1204
1203
for ( var i = 0 , length = packetData . length ; i < length ; ++ i ) {
1205
1204
processArrayPacketData ( object , propertyName , packetData [ i ] , entityCollection ) ;
1206
1205
}
@@ -1233,7 +1232,7 @@ import WallGraphics from './WallGraphics.js';
1233
1232
return ;
1234
1233
}
1235
1234
1236
- if ( isArray ( packetData ) ) {
1235
+ if ( Array . isArray ( packetData ) ) {
1237
1236
for ( var i = 0 , length = packetData . length ; i < length ; ++ i ) {
1238
1237
processPositionArrayPacketData ( object , propertyName , packetData [ i ] , entityCollection ) ;
1239
1238
}
@@ -1283,7 +1282,7 @@ import WallGraphics from './WallGraphics.js';
1283
1282
return ;
1284
1283
}
1285
1284
1286
- if ( isArray ( packetData ) ) {
1285
+ if ( Array . isArray ( packetData ) ) {
1287
1286
for ( var i = 0 , length = packetData . length ; i < length ; ++ i ) {
1288
1287
processPositionArrayOfArraysPacketData ( object , propertyName , packetData [ i ] , entityCollection ) ;
1289
1288
}
@@ -1299,7 +1298,7 @@ import WallGraphics from './WallGraphics.js';
1299
1298
}
1300
1299
1301
1300
var intervals ;
1302
- if ( isArray ( packetData ) ) {
1301
+ if ( Array . isArray ( packetData ) ) {
1303
1302
for ( var i = 0 , len = packetData . length ; i < len ; ++ i ) {
1304
1303
if ( ! defined ( intervals ) ) {
1305
1304
intervals = new TimeIntervalCollection ( ) ;
@@ -1617,7 +1616,7 @@ import WallGraphics from './WallGraphics.js';
1617
1616
var i , len ;
1618
1617
var nodeTransformationsData = modelData . nodeTransformations ;
1619
1618
if ( defined ( nodeTransformationsData ) ) {
1620
- if ( isArray ( nodeTransformationsData ) ) {
1619
+ if ( Array . isArray ( nodeTransformationsData ) ) {
1621
1620
for ( i = 0 , len = nodeTransformationsData . length ; i < len ; ++ i ) {
1622
1621
processNodeTransformations ( model , nodeTransformationsData [ i ] , interval , sourceUri , entityCollection ) ;
1623
1622
}
@@ -1628,7 +1627,7 @@ import WallGraphics from './WallGraphics.js';
1628
1627
1629
1628
var articulationsData = modelData . articulations ;
1630
1629
if ( defined ( articulationsData ) ) {
1631
- if ( isArray ( articulationsData ) ) {
1630
+ if ( Array . isArray ( articulationsData ) ) {
1632
1631
for ( i = 0 , len = articulationsData . length ; i < len ; ++ i ) {
1633
1632
processArticulations ( model , articulationsData [ i ] , interval , sourceUri , entityCollection ) ;
1634
1633
}
@@ -2389,7 +2388,7 @@ import WallGraphics from './WallGraphics.js';
2389
2388
CzmlDataSource . _processCzml = function ( czml , entityCollection , sourceUri , updaterFunctions , dataSource ) {
2390
2389
updaterFunctions = defaultValue ( updaterFunctions , CzmlDataSource . updaters ) ;
2391
2390
2392
- if ( isArray ( czml ) ) {
2391
+ if ( Array . isArray ( czml ) ) {
2393
2392
for ( var i = 0 , len = czml . length ; i < len ; ++ i ) {
2394
2393
processCzmlPacket ( czml [ i ] , entityCollection , updaterFunctions , sourceUri , dataSource ) ;
2395
2394
}
0 commit comments