diff --git a/editor/js/libs/app.js b/editor/js/libs/app.js index f749285aa7f75cda465a09b30b0d265cdc84bbeb..70187c6ca1540ef78a9e0aa496cafe2596af4732 100644 --- a/editor/js/libs/app.js +++ b/editor/js/libs/app.js @@ -167,7 +167,7 @@ var APP = { } catch (e) { - console.error(e.stack || e); + console.error( ( e.message || e ), ( e.stack || "" ) ); } @@ -212,7 +212,7 @@ var APP = { dispatch( events.start, arguments ); request = requestAnimationFrame( animate ); - prevTime = performance.now(); + prevTime = ( window.performance || Date ).now(); }; this.stop = function () {