浏览代码

Variable 'result' should be defined in strict mode

Temechon 11 年之前
父节点
当前提交
9400008d32
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Babylon/Cameras/babylon.camera.js

+ 2 - 2
Babylon/Cameras/babylon.camera.js

@@ -203,7 +203,7 @@ var BABYLON = BABYLON || {};
             this._postProcessesTakenIndices.push(insertAt);
         }
 
-        result = insertAt + add;
+        var result = insertAt + add;
 
         this._postProcesses[result] = postProcess;
 
@@ -325,4 +325,4 @@ var BABYLON = BABYLON || {};
             this._postProcesses[this._postProcessesTakenIndices[i]].dispose(this);
         }
     };
-})();
+})();