Skip to content

Commit

Permalink
Remove unused modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunter committed May 15, 2014
1 parent c990f6c commit 9543d56
Show file tree
Hide file tree
Showing 69 changed files with 34 additions and 296 deletions.
2 changes: 0 additions & 2 deletions Apps/CesiumViewer/CesiumViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ define([
'Core/getFilenameFromUri',
'DynamicScene/CzmlDataSource',
'DynamicScene/GeoJsonDataSource',
'Scene/PerformanceDisplay',
'Scene/TileMapServiceImageryProvider',
'Widgets/Viewer/Viewer',
'Widgets/Viewer/viewerCesiumInspectorMixin',
Expand All @@ -18,7 +17,6 @@ define([
getFilenameFromUri,
CzmlDataSource,
GeoJsonDataSource,
PerformanceDisplay,
TileMapServiceImageryProvider,
Viewer,
viewerCesiumInspectorMixin,
Expand Down
4 changes: 0 additions & 4 deletions Source/DynamicScene/GeoJsonDataSource.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/*global define*/
define([
'../Core/Cartesian3',
'../Core/Cartographic',
'../Core/Color',
'../Core/createGuid',
'../Core/defined',
'../Core/defineProperties',
'../Core/DeveloperError',
'../Core/Ellipsoid',
'../Core/Event',
'../Core/getFilenameFromUri',
'../Core/loadJson',
Expand All @@ -23,13 +21,11 @@ define([
'./DynamicPolyline'
], function(
Cartesian3,
Cartographic,
Color,
createGuid,
defined,
defineProperties,
DeveloperError,
Ellipsoid,
Event,
getFilenameFromUri,
loadJson,
Expand Down
2 changes: 0 additions & 2 deletions Source/DynamicScene/StaticGeometryPerMaterialBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ define([
'../Core/AssociativeArray',
'../Core/defined',
'../Core/ShowGeometryInstanceAttribute',
'../Scene/Material',
'../Scene/Primitive',
'../Scene/PrimitiveState',
'./MaterialProperty'
], function(
AssociativeArray,
defined,
ShowGeometryInstanceAttribute,
Material,
Primitive,
PrimitiveState,
MaterialProperty) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/*global define*/
define([
'../../Core/buildModuleUrl',
'../../Scene/ArcGisImageServerTerrainProvider',
'../../Scene/CesiumTerrainProvider',
'../../Scene/EllipsoidTerrainProvider',
'../BaseLayerPicker/ProviderViewModel'
], function(
buildModuleUrl,
ArcGisImageServerTerrainProvider,
CesiumTerrainProvider,
EllipsoidTerrainProvider,
ProviderViewModel) {
Expand Down
2 changes: 0 additions & 2 deletions Source/Widgets/CesiumWidget/CesiumWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ define([
'../../Core/destroyObject',
'../../Core/DeveloperError',
'../../Core/Ellipsoid',
'../../Core/Event',
'../../Core/formatError',
'../../Core/getTimestamp',
'../../Core/requestAnimationFrame',
Expand All @@ -34,7 +33,6 @@ define([
destroyObject,
DeveloperError,
Ellipsoid,
Event,
formatError,
getTimestamp,
requestAnimationFrame,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/*global define*/
define([
'../../Core/Cartesian3',
'../../Core/defaultValue',
'../../Core/defined',
'../../Core/defineProperties',
'../../Core/DeveloperError',
'../../ThirdParty/knockout',
'../createCommand'
], function(
Cartesian3,
defaultValue,
defined,
defineProperties,
DeveloperError,
knockout,
createCommand) {
"use strict";
Expand All @@ -23,7 +15,7 @@ define([
* @constructor
*
*/
var NavigationHelpButtonViewModel = function () {
var NavigationHelpButtonViewModel = function() {
/**
* Gets or sets whether the instructions are currently shown. This property is observable.
* @type {Boolean}
Expand All @@ -32,7 +24,7 @@ define([
this.showInstructions = false;

var that = this;
this._command = createCommand(function () {
this._command = createCommand(function() {
that.showInstructions = !that.showInstructions;
});

Expand All @@ -53,8 +45,8 @@ define([
*
* @type {Command}
*/
command: {
get: function () {
command : {
get : function() {
return this._command;
}
}
Expand Down
6 changes: 0 additions & 6 deletions Source/Widgets/Viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ define([
'../../Core/defineProperties',
'../../Core/destroyObject',
'../../Core/DeveloperError',
'../../Core/Event',
'../../Core/EventHelper',
'../../Core/formatError',
'../../Core/requestAnimationFrame',
'../../DynamicScene/DataSourceCollection',
'../../DynamicScene/DataSourceDisplay',
'../../ThirdParty/knockout',
Expand All @@ -35,10 +32,7 @@ define([
defineProperties,
destroyObject,
DeveloperError,
Event,
EventHelper,
formatError,
requestAnimationFrame,
DataSourceCollection,
DataSourceDisplay,
knockout,
Expand Down
3 changes: 0 additions & 3 deletions Source/Widgets/Viewer/viewerCesiumInspectorMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ define([
'../../Core/defined',
'../../Core/defineProperties',
'../../Core/DeveloperError',
'../../Core/requestAnimationFrame',
'../CesiumInspector/CesiumInspector'
], function(
defined,
defineProperties,
DeveloperError,
requestAnimationFrame,
CesiumInspector) {
"use strict";
/*global console*/

/**
* A mixin which adds the CesiumInspector widget to the Viewer widget.
Expand Down
2 changes: 0 additions & 2 deletions Specs/Core/CorridorGeometrySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ defineSuite([
'Core/Cartographic',
'Core/CornerType',
'Core/Ellipsoid',
'Core/Math',
'Core/VertexFormat'
], function(
CorridorGeometry,
Cartesian3,
Cartographic,
CornerType,
Ellipsoid,
CesiumMath,
VertexFormat) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/
Expand Down
6 changes: 2 additions & 4 deletions Specs/Core/CorridorOutlineGeometrySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ defineSuite([
'Core/Cartesian3',
'Core/Cartographic',
'Core/CornerType',
'Core/Ellipsoid',
'Core/Math'
'Core/Ellipsoid'
], function(
CorridorOutlineGeometry,
Cartesian3,
Cartographic,
CornerType,
Ellipsoid,
CesiumMath) {
Ellipsoid) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
32 changes: 2 additions & 30 deletions Specs/Core/EarthOrientationParametersSpec.js
Original file line number Diff line number Diff line change
@@ -1,44 +1,16 @@
/*global defineSuite*/
defineSuite([
'Core/EarthOrientationParameters',
'Core/Cartesian2',
'Core/Cartesian3',
'Core/Cartesian4',
'Core/defined',
'Core/DeveloperError',
'Core/Ellipsoid',
'Core/JulianDate',
'Core/LeapSecond',
'Core/loadJson',
'Core/Math',
'Core/Matrix3',
'Core/Matrix4',
'Core/Quaternion',
'Core/TimeConstants',
'Core/TimeInterval',
'Core/TimeStandard',
'Core/Transforms',
'ThirdParty/when'
'Core/TimeStandard'
], function(
EarthOrientationParameters,
Cartesian2,
Cartesian3,
Cartesian4,
defined,
DeveloperError,
Ellipsoid,
JulianDate,
LeapSecond,
loadJson,
CesiumMath,
Matrix3,
Matrix4,
Quaternion,
TimeConstants,
TimeInterval,
TimeStandard,
Transforms,
when) {
TimeStandard) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
8 changes: 2 additions & 6 deletions Specs/Core/EllipsoidalOccluderSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ defineSuite([
'Core/Ellipsoid',
'Core/IntersectionTests',
'Core/Math',
'Core/Occluder',
'Core/Ray',
'Core/Rectangle',
'Core/Visibility'
'Core/Rectangle'
], function(
EllipsoidalOccluder,
BoundingSphere,
Cartesian3,
Ellipsoid,
IntersectionTests,
CesiumMath,
Occluder,
Ray,
Rectangle,
Visibility) {
Rectangle) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
2 changes: 0 additions & 2 deletions Specs/Core/Iau2000OrientationSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
defineSuite([
'Core/Iau2000Orientation',
'Core/JulianDate',
'Core/Math',
'Core/TimeStandard'
], function(
Iau2000Orientation,
JulianDate,
CesiumMath,
TimeStandard) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/
Expand Down
6 changes: 2 additions & 4 deletions Specs/Core/Iau2006XysDataSpec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*global defineSuite*/
defineSuite([
'Core/Iau2006XysData',
'Core/defined',
'Core/loadText'
'Core/defined'
], function(
Iau2006XysData,
defined,
loadText) {
defined) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
2 changes: 0 additions & 2 deletions Specs/Core/IntersectionTestsSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
defineSuite([
'Core/IntersectionTests',
'Core/Cartesian3',
'Core/defined',
'Core/Ellipsoid',
'Core/Math',
'Core/Plane',
'Core/Ray'
], function(
IntersectionTests,
Cartesian3,
defined,
Ellipsoid,
CesiumMath,
Plane,
Expand Down
6 changes: 2 additions & 4 deletions Specs/Core/Intersections2DSpec.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*global defineSuite*/
defineSuite([
'Core/Intersections2D',
'Core/Math'
'Core/Intersections2D'
], function(
Intersections2D,
CesiumMath) {
Intersections2D) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
8 changes: 2 additions & 6 deletions Specs/Core/MathSpec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/*global defineSuite*/
defineSuite([
'Core/Math',
'Core/Cartesian3',
'Core/Cartographic'
'Core/Math'
], function(
CesiumMath,
Cartesian3,
Cartographic) {
CesiumMath) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/

Expand Down
4 changes: 0 additions & 4 deletions Specs/Core/ObjectOrientedBoundingBoxSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ defineSuite([
'Core/ObjectOrientedBoundingBox',
'Core/BoundingRectangle',
'Core/Cartesian3',
'Core/Cartesian4',
'Core/Intersect',
'Core/Math',
'Core/Matrix3',
'Core/Quaternion'
], function(
ObjectOrientedBoundingBox,
BoundingRectangle,
Cartesian3,
Cartesian4,
Intersect,
CesiumMath,
Matrix3,
Quaternion) {
Expand Down
2 changes: 0 additions & 2 deletions Specs/Core/PolygonPipelineSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ defineSuite([
'Core/Cartesian3',
'Core/Cartographic',
'Core/Ellipsoid',
'Core/Math',
'Core/WindingOrder'
], function(
PolygonPipeline,
Cartesian2,
Cartesian3,
Cartographic,
Ellipsoid,
CesiumMath,
WindingOrder) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/
Expand Down
Loading

0 comments on commit 9543d56

Please sign in to comment.