소스 검색

Update babylon.database.ts

finscn 7 년 전
부모
커밋
695c34970a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Tools/babylon.database.ts

+ 1 - 1
src/Tools/babylon.database.ts

@@ -74,7 +74,7 @@ module BABYLON {
             if (navigator.onLine) {
                 // Adding a timestamp to by-pass browsers' cache
                 timeStampUsed = true;
-                manifestURL = manifestURL + (manifestURL.match(/\?/) == null ? "?" : "&") + (new Date()).getTime();
+                manifestURL = manifestURL + (manifestURL.match(/\?/) == null ? "?" : "&") + Date.now();
             }
             xhr.open("GET", manifestURL, true);