Fix typo
This commit is contained in:
parent
fb931d6189
commit
d4bab74b1a
3 changed files with 4 additions and 6 deletions
|
|
@ -478,7 +478,6 @@ $(document).ready(function() {
|
||||||
var bitbucketCommitUrl = /^https?:\/\/(?:www\.)?bitbucket\.org\/(.*?)\/(.*?)\/commits\/(.*?)(?:\/raw)?(?:\/.*)?$/;
|
var bitbucketCommitUrl = /^https?:\/\/(?:www\.)?bitbucket\.org\/(.*?)\/(.*?)\/commits\/(.*?)(?:\/raw)?(?:\/.*)?$/;
|
||||||
var bitbucketPrUrl = /^https?:\/\/(?:www\.)?bitbucket\.org\/(.*?)\/(.*?)\/pull-requests\/(.*?)(?:\/.*)?$/;
|
var bitbucketPrUrl = /^https?:\/\/(?:www\.)?bitbucket\.org\/(.*?)\/(.*?)\/pull-requests\/(.*?)(?:\/.*)?$/;
|
||||||
|
|
||||||
|
|
||||||
function gitLabUrlGen(userName, projectName, type, value) {
|
function gitLabUrlGen(userName, projectName, type, value) {
|
||||||
return 'https://crossorigin.me/https://gitlab.com/' + userName + '/' + projectName + '/' + type + '/' + value + '.diff';
|
return 'https://crossorigin.me/https://gitlab.com/' + userName + '/' + projectName + '/' + type + '/' + value + '.diff';
|
||||||
}
|
}
|
||||||
|
|
@ -533,7 +532,7 @@ $(document).ready(function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!validateUrl(req.originalUrl)) updateUrl(req.originalUrl);
|
if (validateUrl(req.originalUrl)) updateUrl(req.originalUrl);
|
||||||
|
|
||||||
var outputFormat = $outputFormat.val();
|
var outputFormat = $outputFormat.val();
|
||||||
var showFiles = $showFiles.is(':checked');
|
var showFiles = $showFiles.is(':checked');
|
||||||
|
|
|
||||||
2
docs/url.min.js
vendored
2
docs/url.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -132,11 +132,11 @@ $(document).ready(function() {
|
||||||
|
|
||||||
function draw(req) {
|
function draw(req) {
|
||||||
if (!validateUrl(req.url)) {
|
if (!validateUrl(req.url)) {
|
||||||
console.error("Invalid url provided!");
|
console.error('Invalid url provided!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!validateUrl(req.originalUrl)) updateUrl(req.originalUrl);
|
if (validateUrl(req.originalUrl)) updateUrl(req.originalUrl);
|
||||||
|
|
||||||
var outputFormat = $outputFormat.val();
|
var outputFormat = $outputFormat.val();
|
||||||
var showFiles = $showFiles.is(':checked');
|
var showFiles = $showFiles.is(':checked');
|
||||||
|
|
@ -188,5 +188,4 @@ $(document).ready(function() {
|
||||||
window.location.search = '?diff=' + url;
|
window.location.search = '?diff=' + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue