JavaScript: Remove references to LGTM

This commit is contained in:
Calum Grant
2022-12-19 15:15:17 +00:00
parent ca1c46331a
commit 4a37c01c5f
5 changed files with 6 additions and 6 deletions

View File

@@ -1 +1 @@
window.parent.postMessage(userName, 'https://lgtm.com');
window.parent.postMessage(userName, 'https://github.com');

View File

@@ -1,8 +1,8 @@
import { Component } from 'react';
import { WebView } from 'react-native';
class LgtmView extends Component {
class CodeQLView extends Component {
render() {
return <WebView source={{uri: 'https://lgtm.com'}}/>;
return <WebView source={{uri: 'https://github.com'}}/>;
}
}

View File

@@ -1 +1 @@
window.parent.postMessage(userName, 'https://lgtm.com');
window.parent.postMessage(userName, 'https://github.com');

View File

@@ -1,5 +1,5 @@
function h() {
var href = window.location.href;
// OK
window.location = "https://lgtm.com?" + href.substring(href.indexOf('?')+1);
window.location = "https://github.com?" + href.substring(href.indexOf('?')+1);
}

View File

@@ -1,7 +1,7 @@
function k() {
var search = window.location.search.substr(1);
// OK
window.location = "https://lgtm.com" + questionMark() + search;
window.location = "https://github.com" + questionMark() + search;
}
function questionMark() {