Browse Source

src: Clean up. (#26763)

林炳权 1 năm trước cách đây
mục cha
commit
fbc28ae0c5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/textures/Source.js

+ 2 - 2
src/textures/Source.js

@@ -1,7 +1,7 @@
 import { ImageUtils } from '../extras/ImageUtils.js';
 import { ImageUtils } from '../extras/ImageUtils.js';
 import * as MathUtils from '../math/MathUtils.js';
 import * as MathUtils from '../math/MathUtils.js';
 
 
-let sourceId = 0;
+let _sourceId = 0;
 
 
 class Source {
 class Source {
 
 
@@ -9,7 +9,7 @@ class Source {
 
 
 		this.isSource = true;
 		this.isSource = true;
 
 
-		Object.defineProperty( this, 'id', { value: sourceId ++ } );
+		Object.defineProperty( this, 'id', { value: _sourceId ++ } );
 
 
 		this.uuid = MathUtils.generateUUID();
 		this.uuid = MathUtils.generateUUID();