forked from FINAKON/HelpProject
1. Initial Commit - a boiler plate code and POC to realize the concept of context sensitive help 2. Frontend code written in ReactJS 3. Backend code written in Java, Spring Boot Framework 4. Frontend Start: pre-requisites : node, npm npm run dev ==> to start the frontend vite server 5. Backend Start: pre-requisites : java, mvn mvn spring-boot:run ==> to start the backend server 6. Visit http://localhost:5173/ for basic demo of help, press F1 in textboxes 7. Visit http://localhost:5173/editor and enter "admin123" to add/modify texts. Happy Coding !!! Thank you, Bhargava.
20 lines
769 B
TypeScript
20 lines
769 B
TypeScript
/**
|
||
* Checks if a value has the shape of a WHATWG URL object.
|
||
*
|
||
* Using a symbol or instanceof would not be able to recognize URL objects
|
||
* coming from other implementations (e.g. in Electron), so instead we are
|
||
* checking some well known properties for a lack of a better test.
|
||
*
|
||
* We use `href` and `protocol` as they are the only properties that are
|
||
* easy to retrieve and calculate due to the lazy nature of the getters.
|
||
*
|
||
* We check for auth attribute to distinguish legacy url instance with
|
||
* WHATWG URL instance.
|
||
*
|
||
* @param {unknown} fileUrlOrPath
|
||
* File path or URL.
|
||
* @returns {fileUrlOrPath is URL}
|
||
* Whether it’s a URL.
|
||
*/
|
||
export function isUrl(fileUrlOrPath: unknown): fileUrlOrPath is URL;
|
||
//# sourceMappingURL=minurl.shared.d.ts.map
|