mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-02 12:01:53 +08:00
Chore: update ESLint config
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
if (typeof fn !== 'function') { return; }
|
||||
try {
|
||||
fn();
|
||||
} catch (ex) {
|
||||
} catch {
|
||||
}
|
||||
};
|
||||
ga.create = function () {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
) {
|
||||
try {
|
||||
window.location.assign(a[1]);
|
||||
} catch (ex) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
if (a[0] === '_set' && a[1] === 'hitCallback' && typeof a[2] === 'function') {
|
||||
@@ -66,7 +66,7 @@
|
||||
if (typeof a !== 'string') { return; }
|
||||
try {
|
||||
window.location.assign(a);
|
||||
} catch (ex) {
|
||||
} catch {
|
||||
}
|
||||
};
|
||||
return out;
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
gpt.cmd.push = function (a) {
|
||||
try {
|
||||
a();
|
||||
} catch (ex) {
|
||||
} catch {
|
||||
}
|
||||
return 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user