diff --git a/package-lock.json b/package-lock.json index 27ad6559..b1427bb3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "quick-threejs", - "version": "0.1.26", + "version": "0.1.27", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quick-threejs", - "version": "0.1.26", + "version": "0.1.27", "license": "ISC", "dependencies": { "events": "^3.3.0", diff --git a/package.json b/package.json index e1675491..b45f79d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quick-threejs", - "version": "0.1.26", + "version": "0.1.27", "description": "Quick threejs helper", "repository": { "type": "git", diff --git a/src/index.ts b/src/index.ts index 1a206b49..9dc49ecd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -144,7 +144,7 @@ export default class QuickThreejs { if (typeof props?.gridSizes === "number") { const GRID_HELPER = new THREE.GridHelper( props?.gridSizes, - props?.gridSizes + props?.gridSizes, ); this.scene.add(GRID_HELPER); } diff --git a/src/utils/Resources.ts b/src/utils/Resources.ts index 54050e33..57052a16 100644 --- a/src/utils/Resources.ts +++ b/src/utils/Resources.ts @@ -96,7 +96,7 @@ export default class Resources extends EventEmitter { this.loaders.gltfLoader = new GLTFLoader(this.loadingManager); this.loaders.textureLoader = new THREE.TextureLoader(this.loadingManager); this.loaders.cubeTextureLoader = new THREE.CubeTextureLoader( - this.loadingManager + this.loadingManager, ); } @@ -116,22 +116,22 @@ export default class Resources extends EventEmitter { if (!this.items[source.name]) { if (source.type === "gltfModel" && typeof source.path === "string") { this.loaders.gltfLoader?.load(source.path, (file) => - this.sourceLoaded(source, file) + this.sourceLoaded(source, file), ); } if (source.type === "texture" && typeof source.path === "string") { this.loaders.textureLoader?.load(source.path, (file) => - this.sourceLoaded(source, file) + this.sourceLoaded(source, file), ); } if (source.type === "cubeTexture" && typeof source.path === "object") { this.loaders.cubeTextureLoader?.load(source.path, (file) => - this.sourceLoaded(source, file) + this.sourceLoaded(source, file), ); } if (source.type === "video" && typeof source.path === "string") { this._videoLoader.load(source.path, (element) => - this.sourceLoaded(source, element) + this.sourceLoaded(source, element), ); } }