소스 검색

fix injection thanks to Seb

Cedric Guillemet 6 년 전
부모
커밋
d6e71c1762
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Navigation/Plugins/recastJSPlugin.ts

+ 1 - 1
src/Navigation/Plugins/recastJSPlugin.ts

@@ -38,7 +38,7 @@ export class RecastJSPlugin implements INavigationEnginePlugin {
         if (typeof recastInjection === "function") {
             recastInjection(this.bjsRECAST);
         } else {
-            this.bjsRECAST = recastInjection();
+            this.bjsRECAST = recastInjection;
         }
 
         if (!this.isSupported()) {