Browse Source

Fix sandbox for legacy browser compatibility

Gary Hsu 5 years ago
parent
commit
d8000c9ddd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sandbox/index.js

+ 1 - 1
sandbox/index.js

@@ -135,7 +135,7 @@ if (BABYLON.Engine.isSupported()) {
 
         currentScene = babylonScene;
 
-        babylonScene.onAnimationFileImportedObservable.add((scene) => {
+        babylonScene.onAnimationFileImportedObservable.add(function (scene) {
             anyLoaded(scene, false);
         });