mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JavaScript: Remove references to LGTM
This commit is contained in:
@@ -1 +1 @@
|
||||
window.parent.postMessage(userName, 'https://lgtm.com');
|
||||
window.parent.postMessage(userName, 'https://github.com');
|
||||
|
||||
@@ -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'}}/>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
window.parent.postMessage(userName, 'https://lgtm.com');
|
||||
window.parent.postMessage(userName, 'https://github.com');
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user