소스 검색

Merge pull request #158 from Temechon/patch-2

Variable should be declared in strict mode
deltakosh 12 년 전
부모
커밋
5f4f72504a
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);
             this._postProcessesTakenIndices.push(insertAt);
         }
         }
 
 
-        result = insertAt + add;
+        var result = insertAt + add;
 
 
         this._postProcesses[result] = postProcess;
         this._postProcesses[result] = postProcess;
 
 
@@ -325,4 +325,4 @@ var BABYLON = BABYLON || {};
             this._postProcesses[this._postProcessesTakenIndices[i]].dispose(this);
             this._postProcesses[this._postProcessesTakenIndices[i]].dispose(this);
         }
         }
     };
     };
-})();
+})();