tracker: code style

This commit is contained in:
nick-delirium 2025-05-02 10:12:04 +02:00 committed by Delirium
parent 4a9a082896
commit 821db5c0d5

View file

@ -127,7 +127,6 @@ export default function (app: App | null) {
return replace.call(this, text).then((sheet: CSSStyleSheet) => {
const sheetID = styleSheetIDMap.get(this)
if (sheetID) {
console.log('replace')
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
}
return sheet
@ -137,7 +136,6 @@ export default function (app: App | null) {
context.CSSStyleSheet.prototype.replaceSync = function (text: string) {
const sheetID = styleSheetIDMap.get(this)
if (sheetID) {
console.log('replaceSync')
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
}
return replaceSync.call(this, text)