Skip to content

Commit

Permalink
Merge pull request #6470 from puckey/remove-unused-imports
Browse files Browse the repository at this point in the history
remove unused imports
  • Loading branch information
Hannah authored Apr 20, 2018
2 parents 7307f81 + 0b28295 commit 6c1285f
Show file tree
Hide file tree
Showing 29 changed files with 5 additions and 136 deletions.
4 changes: 0 additions & 4 deletions Source/Core/EllipseGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ define([
'./IndexDatatype',
'./Math',
'./Matrix3',
'./Matrix4',
'./PrimitiveType',
'./Quaternion',
'./Rectangle',
'./Transforms',
'./VertexFormat'
], function(
BoundingSphere,
Expand All @@ -46,11 +44,9 @@ define([
IndexDatatype,
CesiumMath,
Matrix3,
Matrix4,
PrimitiveType,
Quaternion,
Rectangle,
Transforms,
VertexFormat) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/GoogleEarthEnterpriseMetadata.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
define([
'../ThirdParty/google-earth-dbroot-parser',
'../ThirdParty/when',
'./appendForwardSlash',
'./Check',
'./Credit',
'./defaultValue',
Expand All @@ -17,7 +16,6 @@ define([
], function(
dbrootParser,
when,
appendForwardSlash,
Check,
Credit,
defaultValue,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/PlaneOutlineGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ define([
'./Cartesian3',
'./Check',
'./ComponentDatatype',
'./defaultValue',
'./defined',
'./Geometry',
'./GeometryAttribute',
Expand All @@ -14,7 +13,6 @@ define([
Cartesian3,
Check,
ComponentDatatype,
defaultValue,
defined,
Geometry,
GeometryAttribute,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/arraySlice.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
define([
'./Check',
'./defaultValue',
'./defined',
'./FeatureDetection'
], function(
Check,
defaultValue,
defined,
FeatureDetection) {
'use strict';
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/buildModuleUrl.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
define([
'../ThirdParty/Uri',
'./defined',
'./DeveloperError',
'./Resource',
'require'
], function(
Uri,
defined,
DeveloperError,
Resource,
Expand Down
5 changes: 1 addition & 4 deletions Source/Core/getTimestamp.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
define([
'./defined'
], function(
defined) {
define(function() {
'use strict';
/*global performance*/

Expand Down
6 changes: 2 additions & 4 deletions Source/Core/sampleTerrain.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
define([
'../ThirdParty/when',
'./Check',
'./defined'
'./Check'
], function(
when,
Check,
defined) {
Check) {
'use strict';

/**
Expand Down
2 changes: 0 additions & 2 deletions Source/DataSources/DataSourceDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ define([
'../Core/defined',
'../Core/defineProperties',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Core/EventHelper',
'../Scene/GroundPrimitive',
'../Scene/PrimitiveCollection',
Expand All @@ -25,7 +24,6 @@ define([
defined,
defineProperties,
destroyObject,
DeveloperError,
EventHelper,
GroundPrimitive,
PrimitiveCollection,
Expand Down
22 changes: 2 additions & 20 deletions Source/DataSources/DynamicGeometryBatch.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
define([
'../Core/AssociativeArray',
'../Core/Color',
'../Core/ColorGeometryInstanceAttribute',
'../Core/defined',
'../Core/DistanceDisplayCondition',
'../Core/DistanceDisplayConditionGeometryInstanceAttribute',
'../Core/ShowGeometryInstanceAttribute',
'../Scene/Primitive',
'./BoundingSphereState',
'./ColorMaterialProperty',
'./MaterialProperty',
'./Property'
'./BoundingSphereState'
], function(
AssociativeArray,
Color,
ColorGeometryInstanceAttribute,
defined,
DistanceDisplayCondition,
DistanceDisplayConditionGeometryInstanceAttribute,
ShowGeometryInstanceAttribute,
Primitive,
BoundingSphereState,
ColorMaterialProperty,
MaterialProperty,
Property) {
BoundingSphereState) {
'use strict';

/**
Expand Down
2 changes: 0 additions & 2 deletions Source/DataSources/GeometryVisualizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ define([
'../Core/defaultValue',
'../Core/defined',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Core/Event',
'../Core/EventHelper',
'../Scene/ClassificationType',
Expand Down Expand Up @@ -36,7 +35,6 @@ define([
defaultValue,
defined,
destroyObject,
DeveloperError,
Event,
EventHelper,
ClassificationType,
Expand Down
2 changes: 0 additions & 2 deletions Source/DataSources/PolylineVisualizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ define([
'../Core/Check',
'../Core/defined',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Scene/PolylineColorAppearance',
'../Scene/PolylineMaterialAppearance',
'../Scene/ShadowMode',
Expand All @@ -20,7 +19,6 @@ define([
Check,
defined,
destroyObject,
DeveloperError,
PolylineColorAppearance,
PolylineMaterialAppearance,
ShadowMode,
Expand Down
2 changes: 0 additions & 2 deletions Source/Scene/Cesium3DTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ define([
'../Core/JulianDate',
'../Core/Matrix3',
'../Core/Matrix4',
'../Core/Plane',
'../Core/Rectangle',
'../Core/Request',
'../Core/RequestScheduler',
Expand Down Expand Up @@ -47,7 +46,6 @@ define([
JulianDate,
Matrix3,
Matrix4,
Plane,
Rectangle,
Request,
RequestScheduler,
Expand Down
4 changes: 0 additions & 4 deletions Source/Scene/Cesium3DTilePointFeature.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
define([
'../Core/Cartesian3',
'../Core/Cartographic',
'../Core/Color',
'../Core/defaultValue',
'../Core/defined',
'../Core/defineProperties',
'../Core/Ellipsoid',
'./createBillboardPointCallback'
], function(
Cartesian3,
Cartographic,
Color,
defaultValue,
defined,
defineProperties,
Ellipsoid,
createBillboardPointCallback) {
'use strict';

Expand Down
8 changes: 0 additions & 8 deletions Source/Scene/Cesium3DTileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ define([
'../Core/DoublyLinkedList',
'../Core/Ellipsoid',
'../Core/Event',
'../Core/getBaseUri',
'../Core/getExtensionFromUri',
'../Core/getMagic',
'../Core/isDataUri',
'../Core/JulianDate',
'../Core/ManagedArray',
'../Core/Math',
Expand All @@ -33,7 +30,6 @@ define([
'./Cesium3DTilesetStatistics',
'./Cesium3DTilesetTraversal',
'./Cesium3DTileStyleEngine',
'./ClassificationType',
'./ClippingPlaneCollection',
'./LabelCollection',
'./PointCloudEyeDomeLighting',
Expand All @@ -57,10 +53,7 @@ define([
DoublyLinkedList,
Ellipsoid,
Event,
getBaseUri,
getExtensionFromUri,
getMagic,
isDataUri,
JulianDate,
ManagedArray,
CesiumMath,
Expand All @@ -78,7 +71,6 @@ define([
Cesium3DTilesetStatistics,
Cesium3DTilesetTraversal,
Cesium3DTileStyleEngine,
ClassificationType,
ClippingPlaneCollection,
LabelCollection,
PointCloudEyeDomeLighting,
Expand Down
4 changes: 0 additions & 4 deletions Source/Scene/ClippingPlaneCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ define([
'../Core/deprecationWarning',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Core/FeatureDetection',
'../Core/Intersect',
'../Core/Math',
'../Core/Matrix4',
'../Core/PixelFormat',
'../Core/Plane',
Expand All @@ -38,9 +36,7 @@ define([
deprecationWarning,
destroyObject,
DeveloperError,
FeatureDetection,
Intersect,
CesiumMath,
Matrix4,
PixelFormat,
Plane,
Expand Down
4 changes: 0 additions & 4 deletions Source/Scene/DracoLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ define([
'../Core/FeatureDetection',
'../Core/RuntimeError',
'../Core/TaskProcessor',
'../Renderer/Buffer',
'../Renderer/BufferUsage',
'../ThirdParty/GltfPipeline/ForEach',
'../ThirdParty/when'
], function(
Expand All @@ -16,8 +14,6 @@ define([
FeatureDetection,
RuntimeError,
TaskProcessor,
Buffer,
BufferUsage,
ForEach,
when) {
'use strict';
Expand Down
2 changes: 0 additions & 2 deletions Source/Scene/GlobeSurfaceShaderSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ define([
'../Core/destroyObject',
'../Core/TerrainQuantization',
'../Renderer/ShaderProgram',
'./ClippingPlaneCollection',
'./getClippingFunction',
'./SceneMode'
], function(
defined,
destroyObject,
TerrainQuantization,
ShaderProgram,
ClippingPlaneCollection,
getClippingFunction,
SceneMode) {
'use strict';
Expand Down
2 changes: 0 additions & 2 deletions Source/Scene/GlobeSurfaceTileProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ define([
'../Core/Matrix4',
'../Core/OrientedBoundingBox',
'../Core/OrthographicFrustum',
'../Core/Plane',
'../Core/PrimitiveType',
'../Core/Rectangle',
'../Core/SphereOutlineGeometry',
Expand Down Expand Up @@ -68,7 +67,6 @@ define([
Matrix4,
OrientedBoundingBox,
OrthographicFrustum,
Plane,
PrimitiveType,
Rectangle,
SphereOutlineGeometry,
Expand Down
6 changes: 0 additions & 6 deletions Source/Scene/IonImageryProvider.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
define([
'../Core/Check',
'../Core/clone',
'../Core/Credit',
'../Core/defaultValue',
'../Core/defined',
'../Core/defineProperties',
'../Core/DeveloperError',
'../Core/Event',
'../Core/IonResource',
'../Core/Resource',
'../Core/RuntimeError',
'../ThirdParty/when',
'./ArcGisMapServerImageryProvider',
'./BingMapsImageryProvider',
'./Cesium3DTileset',
'./createTileMapServiceImageryProvider',
'./GoogleEarthEnterpriseMapsProvider',
'./MapboxImageryProvider',
Expand All @@ -23,20 +20,17 @@ define([
'./WebMapTileServiceImageryProvider'
], function(
Check,
clone,
Credit,
defaultValue,
defined,
defineProperties,
DeveloperError,
Event,
IonResource,
Resource,
RuntimeError,
when,
ArcGisMapServerImageryProvider,
BingMapsImageryProvider,
Cesium3DTileset,
createTileMapServiceImageryProvider,
GoogleEarthEnterpriseMapsProvider,
MapboxImageryProvider,
Expand Down
Loading

0 comments on commit 6c1285f

Please sign in to comment.