diff --git a/Source/DataSources/CzmlDataSource.js b/Source/DataSources/CzmlDataSource.js index 75a33583742c..f5555f88cd6d 100644 --- a/Source/DataSources/CzmlDataSource.js +++ b/Source/DataSources/CzmlDataSource.js @@ -627,8 +627,6 @@ define([ var isReference = defined(packetData.reference); var hasInterval = defined(combinedInterval) && !combinedInterval.equals(Iso8601.MAXIMUM_INTERVAL); - var property = object[propertyName]; - if (!isReference) { var packetReferenceFrame = packetData.referenceFrame; if (defined(packetReferenceFrame)) { @@ -654,6 +652,8 @@ define([ return; } + var property = object[propertyName]; + var epoch; var packetEpoch = packetData.epoch; if (defined(packetEpoch)) { diff --git a/Source/DataSources/OrientationProperty.js b/Source/DataSources/OrientationProperty.js index bbb25c4b08c3..c0e3ddc059fe 100644 --- a/Source/DataSources/OrientationProperty.js +++ b/Source/DataSources/OrientationProperty.js @@ -115,7 +115,6 @@ define([ return Quaternion.fromRotationMatrix(icrfToFixedRotation, scratchIcrfToFixed); } - var scratchMatrix3 = new Matrix3(); var scratchQuaternion = new Quaternion(); /** diff --git a/Specs/DataSources/OrientationPropertySpec.js b/Specs/DataSources/OrientationPropertySpec.js index 4847e8c342e3..2277c3c6d45f 100644 --- a/Specs/DataSources/OrientationPropertySpec.js +++ b/Specs/DataSources/OrientationPropertySpec.js @@ -20,7 +20,6 @@ defineSuite([ ConstantProperty, Entity) { "use strict"; - /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/ var time = JulianDate.now(); diff --git a/Specs/DataSources/PositionPropertySpec.js b/Specs/DataSources/PositionPropertySpec.js index 7b21017010d2..831a6c60ae0d 100644 --- a/Specs/DataSources/PositionPropertySpec.js +++ b/Specs/DataSources/PositionPropertySpec.js @@ -20,7 +20,6 @@ defineSuite([ ConstantProperty, Entity) { "use strict"; - /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/ //Results of the below tests were verified against STK Components. var time = JulianDate.now();