Extract `normalizeURI` function into a utility module
Extract the existing `normalizeURI` function from guest.coffee into a utility module and re-use it in document.coffee to convert relative URLs to absolute ones. Also implement some direct tests for this function.
Showing
src/annotator/util/url.js
0 → 100644
Please register or sign in to comment