Home | History | Annotate | Download | only in front_end

Lines Matching full:basepath

146             var basePath = parsedURL.path;
148 // Trim off the query part of the basePath.
149 var questionMarkIndex = basePath.indexOf("?");
151 basePath = basePath.substring(0, questionMarkIndex);
152 // A href of "?foo=bar" implies "basePath?foo=bar".
153 // With "basePath?a=b" and "?foo=bar" we should get "basePath?foo=bar".
156 var basePathCutIndex = basePath.indexOf("?");
158 prefix = basePath.substring(0, basePathCutIndex);
160 prefix = basePath;
162 prefix = basePath.substring(0, basePath.lastIndexOf("/")) + "/";