You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, updated this to just return the original path without adding the extra /. Note that if you do path(1) or path(-1) it will still act as if /some/path or /some/path/ is in the form /some/path/.
In the documentation the following statement:
url('path', 'http://www.example.com:8080/some/path');
should return
/some/path
the result I get from version 1.8.0 is:
/some/path/
Please, can you make the behaviour the same as the documentation? The ending / should not be added.
Library from: http://cdnjs.cloudflare.com/ajax/libs/js-url/1.8.0/js-url.min.js
The text was updated successfully, but these errors were encountered: