Permalink
Browse files
Remove global define and global defineSuite
- Loading branch information...
Showing
1,074 changed files
with
6 additions
and
1,080 deletions.
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'Cesium/Core/Cartesian3',
|
|
|
'Cesium/Core/defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'dijit/_CssStateMixin',
|
|
|
'dijit/_TemplatedMixin',
|
|
|
|
|
|
@@ -263,7 +263,6 @@ if (defined(u)) { |
|
|
```
|
|
|
* Use Cesium's `freezeObject` function to create enums, e.g.,
|
|
|
```javascript
|
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../Core/freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -233,7 +233,6 @@ Tests are written in JavaScript using Jasmine. It is important to realize that |
|
|
Here is a stripped down version of the tests:
|
|
|
|
|
|
```javascript
|
|
|
-/*global defineSuite*/
|
|
|
defineSuite([
|
|
|
'Core/Cartesian3'
|
|
|
], function(
|
|
|
@@ -696,7 +695,6 @@ This test is more cohesive and easier to debug than if it were written using a _ |
|
|
As mentioned above, some tests are in the `'WebGL'` category. To assign a category to a suite, pass the category to `defineSuite`.
|
|
|
|
|
|
```javascript
|
|
|
-/*global defineSuite*/
|
|
|
defineSuite([
|
|
|
'Scene/DebugModelMatrixPrimitive',
|
|
|
'Specs/createScene'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./defineProperties',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian2',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Credit',
|
|
|
'./defined'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BingMapsApi',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian2',
|
|
|
'./Cartographic',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Cartographic',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Cartesian4',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../ThirdParty/Uri',
|
|
|
'../ThirdParty/when',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./DeveloperError'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Check',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./ClockRange',
|
|
|
'./ClockStep',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Color',
|
|
|
'./ComponentDatatype',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./defineProperties'
|
|
|
@@ -90,4 +89,4 @@ define([ |
|
|
};
|
|
|
|
|
|
return CompressedTextureBuffer;
|
|
|
-});
|
|
|
+});
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./arrayRemoveDuplicates',
|
|
|
'./BoundingSphere',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./CornerType',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./arrayRemoveDuplicates',
|
|
|
'./BoundingSphere',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./defineProperties',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./DeveloperError',
|
|
|
'./QuadraticRealPolynomial'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Math'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,5 +1,4 @@ |
|
|
|
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define(function() {
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./ComponentDatatype',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../Core/defined',
|
|
|
'../Core/defineProperties'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../ThirdParty/when',
|
|
|
'./binarySearch',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define(function() {
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../ThirdParty/Tween',
|
|
|
'./freezeObject'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Math',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./AxisAlignedBoundingBox',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../ThirdParty/when',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian3',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./DeveloperError'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defined',
|
|
|
'./defineProperties'
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./DeveloperError'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Cartesian3',
|
|
|
'./Cartographic',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./Cartesian2',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./Check',
|
|
|
'./defaultValue',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./defaultValue',
|
|
|
'./defined',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./AttributeCompression',
|
|
|
'./barycentricCoordinates',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./freezeObject'
|
|
|
], function(
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'../ThirdParty/google-earth-dbroot-parser',
|
|
|
'../ThirdParty/when',
|
|
|
|
|
|
@@ -1,4 +1,3 @@ |
|
|
-/*global define*/
|
|
|
define([
|
|
|
'./BoundingSphere',
|
|
|
'./Cartesian2',
|
|
|
|
Oops, something went wrong.
0 comments on commit
337ad9d