Lukas Tetzlaff 7 anni fa
parent
commit
86126f8800
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      src/Tools/babylon.tools.ts

+ 5 - 1
src/Tools/babylon.tools.ts

@@ -1505,7 +1505,11 @@
                 Tools.Error = Tools._ErrorDisabled;
                 Tools.Error = Tools._ErrorDisabled;
             }
             }
         }
         }
-	    
+	
+	/** 
+         * Check if the loaded document was accessed via `file:`-Protocol.
+         * @returns boolean
+         */
 	public static IsFileURL(): boolean {
 	public static IsFileURL(): boolean {
 	    return location.protocol === "file:";
 	    return location.protocol === "file:";
 	}
 	}