Skip to content

Commit

Permalink
change deprecation wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ebogo1 committed Apr 9, 2021
1 parent e2ad7df commit 37130dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

##### Deprecated :hourglass_flowing_sand:

- `loadCRN` was deprecated and will be removed in Cesium 1.82. It will be replaced with support for KTX2.[9478](https://github.com/CesiumGS/cesium/pull/9478)
- `loadKTX` was deprecated and will be removed in Cesium 1.82. It will be replaced with support for KTX2. [9478](https://github.com/CesiumGS/cesium/pull/9478)
- `loadCRN` has been deprecated and will be removed in CesiumJS 1.82. It will be replaced with support for KTX2.[9478](https://github.com/CesiumGS/cesium/pull/9478)
- `loadKTX` has been deprecated and will be removed in CesiumJS 1.82. It will be replaced with support for KTX2. [9478](https://github.com/CesiumGS/cesium/pull/9478)

### 1.80 - 2021-04-01

Expand Down
4 changes: 2 additions & 2 deletions Source/Core/loadCRN.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ var transcodeTaskProcessor = new TaskProcessor("transcodeCRNToDXT");
* @see {@link https://github.com/BinomialLLC/crunch|crunch DXTc texture compression and transcoding library}
* @see {@link http://www.w3.org/TR/cors/|Cross-Origin Resource Sharing}
* @see {@link http://wiki.commonjs.org/wiki/Promises/A|CommonJS Promises/A}
* @deprecated This function has been deprecated and will be removed in Cesium 1.82.
* @deprecated This function has been deprecated and will be removed in CesiumJS 1.82.
*/
function loadCRN(resourceOrUrlOrBuffer) {
deprecationWarning(
"loadCRN",
"loadCRN is deprecated and will be removed in Cesium 1.82."
"loadCRN is deprecated and will be removed in CesiumJS 1.82."
);
//>>includeStart('debug', pragmas.debug);
if (!defined(resourceOrUrlOrBuffer)) {
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/loadKTX.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ import deprecationWarning from "./deprecationWarning.js";
* @see {@link https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/|KTX file format}
* @see {@link http://www.w3.org/TR/cors/|Cross-Origin Resource Sharing}
* @see {@link http://wiki.commonjs.org/wiki/Promises/A|CommonJS Promises/A}
* @deprecated This function has been deprecated and will be removed in Cesium 1.82.
* @deprecated This function has been deprecated and will be removed in CesiumJS 1.82.
*/
function loadKTX(resourceOrUrlOrBuffer) {
deprecationWarning(
"loadKTX",
"loadKTX is deprecated and will be removed in Cesium 1.82."
"loadKTX is deprecated and will be removed in CesiumJS 1.82."
);
//>>includeStart('debug', pragmas.debug);
Check.defined("resourceOrUrlOrBuffer", resourceOrUrlOrBuffer);
Expand Down

0 comments on commit 37130dd

Please sign in to comment.