tracker: code style
This commit is contained in:
parent
4a9a082896
commit
821db5c0d5
1 changed files with 0 additions and 2 deletions
|
|
@ -127,7 +127,6 @@ export default function (app: App | null) {
|
||||||
return replace.call(this, text).then((sheet: CSSStyleSheet) => {
|
return replace.call(this, text).then((sheet: CSSStyleSheet) => {
|
||||||
const sheetID = styleSheetIDMap.get(this)
|
const sheetID = styleSheetIDMap.get(this)
|
||||||
if (sheetID) {
|
if (sheetID) {
|
||||||
console.log('replace')
|
|
||||||
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
|
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
|
||||||
}
|
}
|
||||||
return sheet
|
return sheet
|
||||||
|
|
@ -137,7 +136,6 @@ export default function (app: App | null) {
|
||||||
context.CSSStyleSheet.prototype.replaceSync = function (text: string) {
|
context.CSSStyleSheet.prototype.replaceSync = function (text: string) {
|
||||||
const sheetID = styleSheetIDMap.get(this)
|
const sheetID = styleSheetIDMap.get(this)
|
||||||
if (sheetID) {
|
if (sheetID) {
|
||||||
console.log('replaceSync')
|
|
||||||
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
|
app.send(AdoptedSSReplaceURLBased(sheetID, text, app.getBaseHref()))
|
||||||
}
|
}
|
||||||
return replaceSync.call(this, text)
|
return replaceSync.call(this, text)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue