浏览代码

Add missing semicolon in HDRCubeTextureLoader

Tristan Valcke 8 年之前
父节点
当前提交
6f5d75c3c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/loaders/HDRCubeTextureLoader.js

+ 1 - 1
examples/js/loaders/HDRCubeTextureLoader.js

@@ -9,7 +9,7 @@ THREE.HDRCubeTextureLoader = function (manager) {
   this.hdrLoader = new THREE.RGBELoader();
   this.hdrLoader = new THREE.RGBELoader();
 
 
   if( THREE.Encodings === undefined ) throw new Error( "HDRCubeMapLoader requires THREE.Encodings" );
   if( THREE.Encodings === undefined ) throw new Error( "HDRCubeMapLoader requires THREE.Encodings" );
-}
+};
 
 
 THREE.HDRCubeTextureLoader.prototype.load = function(type, urls, onLoad, onProgress, onError) {
 THREE.HDRCubeTextureLoader.prototype.load = function(type, urls, onLoad, onProgress, onError) {
   var texture = new THREE.CubeTexture();
   var texture = new THREE.CubeTexture();