Skip to content

Commit

Permalink
Merge pull request #4674 from fredj/rm_unused
Browse files Browse the repository at this point in the history
Remove unused require
  • Loading branch information
pjcozzi authored Nov 23, 2016
2 parents 651aceb + 8ba5ce1 commit 564ceab
Show file tree
Hide file tree
Showing 149 changed files with 35 additions and 588 deletions.
2 changes: 0 additions & 2 deletions Apps/CesiumViewer/CesiumViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ define([
'Cesium/Core/Cartesian3',
'Cesium/Core/defined',
'Cesium/Core/formatError',
'Cesium/Core/getFilenameFromUri',
'Cesium/Core/Math',
'Cesium/Core/objectToQuery',
'Cesium/Core/queryToObject',
Expand All @@ -19,7 +18,6 @@ define([
Cartesian3,
defined,
formatError,
getFilenameFromUri,
CesiumMath,
objectToQuery,
queryToObject,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/AttributeCompression.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
define([
'./Cartesian2',
'./Cartesian3',
'./defaultValue',
'./defined',
'./DeveloperError',
'./Math'
], function(
Cartesian2,
Cartesian3,
defaultValue,
defined,
DeveloperError,
CesiumMath) {
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/BoundingSphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ define([
'./Interval',
'./Matrix3',
'./Matrix4',
'./Plane',
'./Rectangle'
], function(
Cartesian3,
Expand All @@ -25,7 +24,6 @@ define([
Interval,
Matrix3,
Matrix4,
Plane,
Rectangle) {
'use strict';

Expand Down
4 changes: 0 additions & 4 deletions Source/Core/CesiumTerrainProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ define([
'./loadArrayBuffer',
'./loadJson',
'./Math',
'./Matrix3',
'./OrientedBoundingBox',
'./QuantizedMeshTerrainData',
'./RuntimeError',
'./TerrainProvider',
'./throttleRequestByServer',
'./TileProviderError'
Expand All @@ -42,10 +40,8 @@ define([
loadArrayBuffer,
loadJson,
CesiumMath,
Matrix3,
OrientedBoundingBox,
QuantizedMeshTerrainData,
RuntimeError,
TerrainProvider,
throttleRequestByServer,
TileProviderError) {
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/CircleGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ define([
'./DeveloperError',
'./EllipseGeometry',
'./Ellipsoid',
'./Math',
'./VertexFormat'
], function(
Cartesian3,
Expand All @@ -17,7 +16,6 @@ define([
DeveloperError,
EllipseGeometry,
Ellipsoid,
CesiumMath,
VertexFormat) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/CorridorGeometryLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ define([
'./Cartesian3',
'./CornerType',
'./defined',
'./isArray',
'./Math',
'./Matrix3',
'./PolylinePipeline',
Expand All @@ -13,7 +12,6 @@ define([
Cartesian3,
CornerType,
defined,
isArray,
CesiumMath,
Matrix3,
PolylinePipeline,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/DistanceDisplayCondition.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*global define*/
define([
'./Cartesian3',
'./defaultValue',
'./defined',
'./defineProperties'
], function(
Cartesian3,
defaultValue,
defined,
defineProperties) {
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/EllipsoidTangentPlane.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ define([
'./DeveloperError',
'./Ellipsoid',
'./IntersectionTests',
'./Matrix3',
'./Matrix4',
'./Plane',
'./Ray',
Expand All @@ -26,7 +25,6 @@ define([
DeveloperError,
Ellipsoid,
IntersectionTests,
Matrix3,
Matrix4,
Plane,
Ray,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/GeometryPipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ define([
'./GeographicProjection',
'./Geometry',
'./GeometryAttribute',
'./GeometryInstance',
'./GeometryType',
'./IndexDatatype',
'./Intersect',
Expand All @@ -42,7 +41,6 @@ define([
GeographicProjection,
Geometry,
GeometryAttribute,
GeometryInstance,
GeometryType,
IndexDatatype,
Intersect,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Matrix3.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ define([
'./defineProperties',
'./DeveloperError',
'./freezeObject',
'./HeadingPitchRoll',
'./Math'
], function(
Cartesian3,
Expand All @@ -15,7 +14,6 @@ define([
defineProperties,
DeveloperError,
freezeObject,
HeadingPitchRoll,
CesiumMath) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/PolygonGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ define([
'./EllipsoidTangentPlane',
'./Geometry',
'./GeometryAttribute',
'./GeometryAttributes',
'./GeometryInstance',
'./GeometryPipeline',
'./IndexDatatype',
Expand All @@ -41,7 +40,6 @@ define([
EllipsoidTangentPlane,
Geometry,
GeometryAttribute,
GeometryAttributes,
GeometryInstance,
GeometryPipeline,
IndexDatatype,
Expand Down
4 changes: 0 additions & 4 deletions Source/Core/PolygonGeometryLibrary.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/*global define*/
define([
'./arrayRemoveDuplicates',
'./Cartesian2',
'./Cartesian3',
'./ComponentDatatype',
'./defaultValue',
'./defined',
'./Ellipsoid',
'./EllipsoidTangentPlane',
'./Geometry',
'./GeometryAttribute',
'./GeometryAttributes',
Expand All @@ -20,13 +18,11 @@ define([
'./WindingOrder'
], function(
arrayRemoveDuplicates,
Cartesian2,
Cartesian3,
ComponentDatatype,
defaultValue,
defined,
Ellipsoid,
EllipsoidTangentPlane,
Geometry,
GeometryAttribute,
GeometryAttributes,
Expand Down
6 changes: 0 additions & 6 deletions Source/Core/PolygonPipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ define([
'./defined',
'./DeveloperError',
'./Ellipsoid',
'./EllipsoidTangentPlane',
'./Geometry',
'./GeometryAttribute',
'./Math',
'./pointInsideTriangle',
'./PrimitiveType',
'./Queue',
'./WindingOrder'
], function(
earcut,
Expand All @@ -25,13 +22,10 @@ define([
defined,
DeveloperError,
Ellipsoid,
EllipsoidTangentPlane,
Geometry,
GeometryAttribute,
CesiumMath,
pointInsideTriangle,
PrimitiveType,
Queue,
WindingOrder) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/TaskProcessor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*global define*/
define([
'../ThirdParty/Uri',
'../ThirdParty/when',
'./buildModuleUrl',
'./defaultValue',
Expand All @@ -12,7 +11,6 @@ define([
'./RuntimeError',
'require'
], function(
Uri,
when,
buildModuleUrl,
defaultValue,
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/TerrainEncoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ define([
'./defaultValue',
'./defined',
'./Math',
'./Matrix3',
'./Matrix4',
'./TerrainQuantization'
], function(
Expand All @@ -18,7 +17,6 @@ define([
defaultValue,
defined,
CesiumMath,
Matrix3,
Matrix4,
TerrainQuantization) {
'use strict';
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/TranslationRotationScale.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ define([
'./Cartesian3',
'./defaultValue',
'./defined',
'./Matrix4',
'./Quaternion'
], function(
Cartesian3,
defaultValue,
defined,
Matrix4,
Quaternion) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/TrustedServers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
define([
'../ThirdParty/Uri',
'./defined',
'./defineProperties',
'./DeveloperError'
], function(
Uri,
defined,
defineProperties,
DeveloperError) {
'use strict';

Expand Down
4 changes: 0 additions & 4 deletions Source/Core/VideoSynchronizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ define([
'./defined',
'./defineProperties',
'./destroyObject',
'./DeveloperError',
'./Event',
'./Iso8601',
'./JulianDate'
], function(
defaultValue,
defined,
defineProperties,
destroyObject,
DeveloperError,
Event,
Iso8601,
JulianDate) {
'use strict';
Expand Down
4 changes: 0 additions & 4 deletions Source/DataSources/BillboardVisualizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ define([
'../Core/Cartesian2',
'../Core/Cartesian3',
'../Core/Color',
'../Core/defaultValue',
'../Core/defined',
'../Core/destroyObject',
'../Core/DeveloperError',
Expand All @@ -15,15 +14,13 @@ define([
'../Scene/HorizontalOrigin',
'../Scene/VerticalOrigin',
'./BoundingSphereState',
'./EntityCluster',
'./Property'
], function(
AssociativeArray,
BoundingRectangle,
Cartesian2,
Cartesian3,
Color,
defaultValue,
defined,
destroyObject,
DeveloperError,
Expand All @@ -33,7 +30,6 @@ define([
HorizontalOrigin,
VerticalOrigin,
BoundingSphereState,
EntityCluster,
Property) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/DataSources/ColorMaterialProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ define([
'../Core/defined',
'../Core/defineProperties',
'../Core/Event',
'./ConstantProperty',
'./createPropertyDescriptor',
'./Property'
], function(
Color,
defined,
defineProperties,
Event,
ConstantProperty,
createPropertyDescriptor,
Property) {
'use strict';
Expand Down
4 changes: 0 additions & 4 deletions Source/DataSources/ConstantProperty.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
/*global define*/
define([
'../Core/defaultValue',
'../Core/defined',
'../Core/defineProperties',
'../Core/DeveloperError',
'../Core/Event'
], function(
defaultValue,
defined,
defineProperties,
DeveloperError,
Event) {
'use strict';

Expand Down
2 changes: 0 additions & 2 deletions Source/DataSources/CylinderGeometryUpdater.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*global define*/
define([
'../Core/Cartesian3',
'../Core/Color',
'../Core/ColorGeometryInstanceAttribute',
'../Core/CylinderGeometry',
Expand All @@ -26,7 +25,6 @@ define([
'./MaterialProperty',
'./Property'
], function(
Cartesian3,
Color,
ColorGeometryInstanceAttribute,
CylinderGeometry,
Expand Down
Loading

0 comments on commit 564ceab

Please sign in to comment.