Skip to content
Snippets Groups Projects
Commit efa45f34 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

eslint fixes

parent d38c71f8
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ const promiseTimeout = function(ms, promise) {
/**
* Returns a URL for a relative path or URL
*
* @param {string} urlOrPath
*/
const ensureURL = function(urlOrPath) {
try {
......@@ -26,7 +28,7 @@ const ensureURL = function(urlOrPath) {
} catch (e) {
return new URL(urlOrPath, window.location.href).href;
}
}
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment