Browse Source

Add JSDoc

Lukas Tetzlaff 7 years ago
parent
commit
86126f8800
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/Tools/babylon.tools.ts

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

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