URIjs fix .joinPaths()

the .joinPaths function is on URIStatic, not an instance of URI
https://medialize.github.io/URI.js/docs.html#static-joinPaths
This commit is contained in:
Matt Rohr
2016-09-28 17:33:47 -04:00
committed by GitHub
parent 2a4b0965b8
commit cfdd3db404

4
urijs/URIjs.d.ts vendored
View File

@@ -52,8 +52,6 @@ declare namespace uri {
is(qry: string): boolean;
iso8859(): URI;
joinPaths(...paths: (string | URI)[]): URI;
normalize(): URI;
normalizeFragment(): URI;
normalizeHash(): URI;
@@ -190,6 +188,8 @@ declare namespace uri {
expand(template: string, vals: Object): URI;
iso8859(): void;
joinPaths(...paths: (string | URI)[]): URI;
parse(url: string): {
protocol: string;