@dodona/papyros 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Library.js +1 -1
- package/dist/util/Util.d.ts +6 -0
- package/package.json +1 -1
package/dist/util/Util.d.ts
CHANGED
|
@@ -39,4 +39,10 @@ export declare function removeSelection(selectId: string): void;
|
|
|
39
39
|
*/
|
|
40
40
|
export declare function parseData(data: string, contentType?: string): any;
|
|
41
41
|
export declare function downloadResults(data: string, filename: string): void;
|
|
42
|
+
/**
|
|
43
|
+
* Obtain the url of the current page without hashes, identifiers, query params, ...
|
|
44
|
+
* @param {boolean} endingSlash Whether the url should end in a slash
|
|
45
|
+
* @return {string} The current url
|
|
46
|
+
*/
|
|
47
|
+
export declare function cleanCurrentUrl(endingSlash?: boolean): string;
|
|
42
48
|
export {};
|